@extends('layouts.reportSaleForm') @section('report') @if($result) @foreach($result as $row) @foreach($result_detail as $row_detail) @if($row_detail->item_itmcd == $row->item_itmcd) @endif @endforeach @endforeach
12.Sale Detail Report By Item วันที่ {{$sdate}} - {{$edate}} Item : {{$sitem}} - {{$eitem}} วันที่เวลาพิมพ์ {{now()}}
Item Invoice no. Date Cus Name Qty. Amount
{{$row->item_itmcd}} {{$row->item_name}} {{number_format($row->sum_amount)}} {{number_format($row->sum_price)}}
{{$row_detail->order_id}} {{$row_detail->date}} {{$row_detail->fname}} {{$row_detail->lname}} {{number_format($row_detail->item_amount)}} {{number_format($row_detail->sum_amount_bill)}}
@else

ไม่พบข้อมูล

@endif @endsection