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

Purchase Return

@csrf @if(!empty($purchasesreturn)) @method('PUT') @endif
{{-- FORCE ERROR SHOW --}} @if ($errors->has('supplier_id'))
{{ $errors->first('supplier_id') }}
@endif
@if ($errors->has('purchase_no'))
{{ $errors->first('purchase_no') }}
@endif
@if ($errors->has('date'))
{{ $errors->first('date') }}
@endif
@error('purchase_date') {{ $message }} @enderror
@error('record_no') {{ $message }} @enderror
@php $i = 0; @endphp @if(!empty($purchasesdetails)) @foreach($purchasesdetails as $detail) @php $i++; @endphp @endforeach @endif
Lot No * Product * HSN * Quantity * GST (%) Rate CGST SGST IGST Rejected Qty* Total *
@php $product = $products->find($detail->product_id); $hasSerial = strtolower($product->serial) === 'yes' ? '1' : '0'; @endphp
Total
Total GST
Grand Total

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