@extends('layouts.admin') @section('content')
Party Rates Details
{{--
--}} {!! csrf_field() !!}
@foreach($products as $key=>$product)
@php $old_p=0; foreach ($rates['partyPrice'] as $p){ if($p['product_id']==$product['id']) { $old_p=bcdiv(12*($p['price']), 1, 2); break; } } @endphp
@if ($errors->has($key.'price')) {{ $errors->first($key.'price') }} @endif
@endforeach
@if(!empty($partyname)) {!! method_field('PUT') !!} @endif {{ csrf_field() }}
@endsection @section('footer-content') @endsection