@extends('backend.partials.master') @section('title') Sale Return @endsection @section('maincontent')

Sale Return

@csrf @if(!empty($salereturn)) @method('PUT') @endif
@error('invoice_no') {{ $message }} @enderror
@error('customer_id') {{ $message }} @enderror
@error('saleinvoice_no') {{ $message }} @enderror
{{--
@error('firm') {{ $message }} @enderror
--}}
@error('idate') {{ $message }} @enderror
@error('invoice_date') {{ $message }} @enderror
{{-- --}} @php $i = 0; @endphp @if(!empty($salesdetails)) @foreach($salesdetails as $detail) @php $i++; @endphp @php $product = $products->firstWhere('id', $detail->product_id); @endphp @endforeach @endif
Lot No Product * HSN Quantity *Serial No(s) MAC Id(s)GST (%) Rate Rejected Qty* Total *
@error('lot_no_'.$i) {{ $message }} @enderror @php $product = $products->find($detail->product_id); $hasSerial = strtolower($product->serial) === 'yes' ? '1' : '0'; @endphp @error('reject_qty_'.$i) {{ $message }} @enderror

Cancel
@endsection @push('scripts') @endpush