@php
$logo = DB::table('gnr_company')->select('image')->first();
@endphp
| PRODUCT PURCHASE RETURN REPORT |
| Bill No |
: |
{{$data->purchase_return_no}} |
|
Bill Date |
: |
{{date('d-m-Y', strtotime($data->purchase_return_date))}} |
| Total Quantity |
: |
{{$data->total_quantity}} |
|
Total Amount |
: |
{{number_format($data->total_amount, 2)}} |
| SL No. |
Product Name |
Barcode |
Product Information
|
|
Qty
|
Unit Price
|
Total Price
|
PID No.
|
@php $no=0; $t_qty = $t_amount = 0; @endphp
@foreach($data->purchase_return_details as $details)
@php
$purchaseReturnBarcodeQuantity = 0;
$purchaseReturnBarcodeQuantity = $details->quantity;
$productSalePrice = \App\Service\PosService::getProductSalesPriceFromPricing($details->product_id,$details->branch_id);
$productPrice = ($isSalesPriceStatus == 'true') ? $productSalePrice : $details->cost_price;
// $productPrice = $details->product->cost_price;
@endphp
| {{++$no}} |
{{$details->product->name}} |
@if(isset($details->product->barcode))
{{ $details->product->barcode }}
@endif
|
{{ $purchaseReturnBarcodeQuantity }} |
{{number_format($productPrice, 2)}} |
{{number_format($purchaseReturnBarcodeQuantity*$productPrice, 2)}} |
@if(isset($details->barcode->barcode_serial))
{{ $details->barcode->barcode_serial }}
@endif
|
@php $t_qty += 1; $t_amount += $productPrice; @endphp
@endforeach
| Total |
{{$t_qty}} |
Total |
{{number_format($t_amount, 2)}} |
|
Receive By :
Designation:
Emp.Id :HR & Adminitration