@extends('layouts.master') @section('content')
B-Cheque

B-Cheque List @can('B-Cheque add') Create B-Cheque @endcan

@foreach ($b_cheques as $bCheque) @endforeach
S.No Date PB No Vehicle Bilty No Supplier Item Details Total Amount Total Expanse Save Amount View Created By Action
{{ $loop->iteration }} {{ $bCheque->date }} {{ $bCheque->pb_no }} {{ $bCheque->goodReceiptTruck->truck_no ?? '' }} {{ $bCheque->bilty_no }} {{ $bCheque->supplier->supplier_name ?? 'N/A' }} @foreach ($bCheque->mergedItems as $item) @endforeach
Main Category Parent Category Child Category Marka Bori Weight Price Amount
{{ $item['main_cate'] }} {{ $item['parent_cate'] }} {{ $item['child_cate'] }} {{ $item['marka'] }} {{ $item['bori'] }} {{ $item['weight'] }} {{ number_format($item['rate'], 0) }} {{ number_format($item['amount'], 0) }}
{{ number_format($bCheque->details?->total_amount, 0) ?? 'N/A' }} {{ number_format($bCheque->details?->total_expanse_amount, 0) ?? 'N/A' }} {{ number_format($bCheque->details?->save_amount, 0) ?? 'N/A' }} @can('B-Cheque print') Print @endcan {{ $bCheque->created_by }} @can('B-Cheque edit') Edit @endcan @can('B-Cheque delete') Remove @endcan
S.No Date PB No Vehicle Bilty No Supplier Item Details Total Amount Total Expanse Amount Save Amount View Created By Action
@endsection @push('scripts') @endpush