@extends('admin.layout.app') @section('content')

Edit Sale

@csrf
@error('customer_id') {{$errors->first('customer_id')}} @enderror
@error('date') {{$errors->first('date')}} @enderror
@error('bill_no') {{$errors->first('bill_no')}} @enderror
@error('refer_id') {{$errors->first('refer_id')}} @enderror
@error('adjustment') {{$errors->first('adjustment')}} @enderror
@error('adjustment_amount') {{$errors->first('adjustment_amount')}} @enderror

@foreach($sale->items as $key => $pi) @endforeach
Item Qty Rate Subtotal Action
{{--
@error('type') {{$errors->first('type')}} @enderror
@error('mop') {{$errors->first('mop')}} @enderror
@error('installment_charges') {{$errors->first('installment_charges')}} @enderror
@error('installment_date') {{$errors->first('installment_date')}} @enderror
@error('installment_no') {{$errors->first('installment_no')}} @enderror
--}}
@error('type') {{$errors->first('type')}} @enderror
{{-- ✅ MAIN RECEIVED (ONLY THIS WILL SUBMIT) --}}
@error('mop') {{$errors->first('mop')}} @enderror
@error('installment_charges') {{$errors->first('installment_charges')}} @enderror
@error('installment_date') {{$errors->first('installment_date')}} @enderror
@error('installment_no') {{$errors->first('installment_no')}} @enderror
@error('veh_no') {{$errors->first('veh_no')}} @enderror
@error('note') {{$errors->first('note')}} @enderror
@endsection @push('script') @endpush