{{ $count }} |
{{ $saleDetail['item_name'] }} |
{{ date('d-M-y', strtotime($saleDetail['created_at'])) }} |
{{ date('h:i A', strtotime($saleDetail['created_at'])) }} |
{{ $saleDetail['unit_name'] }} |
{{ number_format($saleDetail['sale_price']) }} MMK |
{{ $saleDetail['quantity'] }} |
@if ($saleDetail['is_foc'] == 1)
0 MMK
@elseif($saleDetail['is_foc'] == 0)
{{ number_format($saleDetail['sale_price'] * $saleDetail['quantity']) }} MMK
@endif
|
@if ($saleDetail['is_foc'] == 0)
|
@elseif ($saleDetail['is_foc'] == 1)
|
@endif
{{ $saleDetail['name'] }} |
@php
$count++;
if ($saleDetail['is_foc'] == 0) {
$totalAmount += $saleDetail['sale_price'] * $saleDetail['quantity'];
}
@endphp
@endforeach
@endif