@extends('layouts.reportSaleForm') @section('report') @if($result) @foreach($result as $row) @php $remark = App\Http\Controllers\Admin\ReportController::get_remark_deduct($row->id,$year,$month); @endphp @endforeach
15.รายงานสรุปรายได้สมาชิก ประจำปี {{$year}} เดือน {{$month}} วันที่เวลาพิมพ์ {{now()}}
ลำดับ ชื่อ-สกุล TP1 TP2 LI LI S Deduct Deduct Rem. Total
{{$i}} {{$row->m_name}} {{number_format($row->t_tp1)}} {{number_format($row->t_tp2)}} {{number_format($row->t_li)}} {{number_format($row->t_li_s)}} {{number_format($row->deduct)}}{{$remark}} {{number_format($total)}}
{{number_format($sum_tp1)}} {{number_format($sum_tp2)}} {{number_format($sum_li)}} {{number_format($sum_li_s)}} {{number_format($sum_deduct)}} {{number_format($sum_total)}}
@else

ไม่มีข้อมูลในระบบ

@endif @endsection