@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)
logo
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*
Date # {{$currentDate}}


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
{{-- --}} {{-- --}} {{-- --}} @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 @endforeach @php $a++; @endphp @endforeach {{-- --}}
S.No Description Serial No. Unit Quanitity Price Amount
{{$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]}}
Total Amount:
  Rs {{$totalPrice ?? ""}}
@else
logo
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

Date#{{$currentDate}}


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
{{-- --}} {{-- --}} {{-- --}} @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) @endforeach @php $a++; @endphp @endforeach {{-- --}}
S.No Description Serial No. Unit Quanitity
{{$a}} {{$p->name}} {{$p->serial_no==null ? '-' :$p->serial_no}} {{$p->units}} {{$quantity[$checkouts->id][$k]}}
@endif
This is a system generated report
Generated By: {{Auth::user()->name}} on {{$currentDate}}