@php
$currentDate=\Illuminate\Support\Carbon::now()->format('d M,Y - H:i A');
$currentMonthYear=\Illuminate\Support\Carbon::now()->format('Ym');
@endphp
Wancom Report
@if ($checkout[0]->department_id==3)
info@wancom.net.pk
+92-21-34891371-4
Suit#205 2nd Floor Mashriq Centre,
Block#14 Gulshan-e-Iqbal, Stadium Road Karachi.
Stock Out Report
For Sales Only*
Report Details
Reference CO #: {{$checkout[0]->id }}- {{$checkout->last()->id}}
Department: {{$checkout[0]->department->name}}
|
Start Date: {{\Illuminate\Support\Carbon::parse($start_date)->format('d, M-Y')}}
End Date: {{\Illuminate\Support\Carbon::parse($end_date)->format('d, M-Y')}}
|
Stock-Out Details Item Wise
{{-- --}}
S.No |
Description |
Serial No. |
Unit |
Quanitity |
Price |
Amount |
{{-- --}}
{{-- --}}
@php
$a=1;
$totalPrice=0;
@endphp
@foreach ($checkout as $checkouts)
@php
$created_at=\Illuminate\Support\Carbon::parse($checkouts->created_at)->format('d M,Y - H:i A');
@endphp
@foreach ($checkouts->products as $k => $p)
@php
$totalPrice = $totalPrice + ($quantity[$checkouts->id][$k] * $price[$checkouts->id][$k]);
@endphp
{{$a}} |
{{$p->name}} |
{{$p->serial_no==null ? '-' :$p->serial_no}} |
{{$p->units}} |
{{$quantity[$checkouts->id][$k]}} |
{{$price[$checkouts->id][$k]}} |
{{$quantity[$checkouts->id][$k] * $price[$checkouts->id][$k]}} |
@endforeach
@php
$a++;
@endphp
@endforeach
{{-- --}}
Total Amount:
Rs {{$totalPrice ?? ""}}
@else
info@wancom.net.pk
+92-21-34891371-4
Suit#205 2nd Floor Mashriq Centre,
Block#14 Gulshan-e-Iqbal, Stadium Road Karachi.
Stock Out Report
Report Details
Reference CO # : {{$checkout[0]->id }}- {{$checkout->last()->id}}
Department: {{$checkout[0]->department->name}}
|
Start Date: {{\Illuminate\Support\Carbon::parse($start_date)->format('d, M-Y')}}
End Date: {{\Illuminate\Support\Carbon::parse($end_date)->format('d, M-Y')}}
|
Stock-Out Details Item Wise
{{-- --}}
S.No |
Description |
Serial No. |
Unit |
Quanitity |
{{-- --}}
{{-- --}}
@php
$a=1;
@endphp
@foreach ($checkout as $checkouts)
@php
$created_at=\Illuminate\Support\Carbon::parse($checkouts->created_at)->format('d M,Y - H:i A');
@endphp
@foreach ($checkouts->products as $k => $p)
{{$a}} |
{{$p->name}} |
{{$p->serial_no==null ? '-' :$p->serial_no}} |
{{$p->units}} |
{{$quantity[$checkouts->id][$k]}} |
@endforeach
@php
$a++;
@endphp
@endforeach
{{-- --}}
@endif
This is a system generated report
Generated By: {{Auth::user()->name}} on {{$currentDate}}