@extends('layouts.reportSaleForm') @section('report') @if($result->count()>0) @foreach($result as $row) @endforeach
16.Sale summary report By Item cost profit ระหว่างวันที่ {{$sdate}} ถึง {{$edate}} วันที่เวลาพิมพ์ {{now()}}
ลำดับ รหัส ชื่อสินค้า จำนวน ราคารวม ต้นทุน/ชิ้น รวมทุน กำไร
{{$i}} {{$row->item_itmcd}} {{$row->item_name}} {{$row->qty}} {{number_format($row->totam,2)}} {{number_format($row->cost,2)}} {{number_format($totalcost,2)}} {{number_format($profit,2)}}
{{number_format($sumtotam,2)}} {{number_format($sumcost,2)}} {{number_format($sumprofit,2)}}
{{ $result->appends(request()->query())->links() }} @else

ไม่พบข้อมูล

@endif @endsection