Production Report
This is an example dashboard created using build-in elements and components.
@csrf
Production Report List
@if(!empty($allProductionList)) @php $i=1; @endphp @foreach($allProductionList as $production) @php $i++; @endphp @endforeach @if(isset($employeeid) && $companyinfo->auto_post_production == 0) @endif @endif
# Employee Name Production # Production Date Item Qty Rate Additional Rate Net Rate Amount
{{$i}} {{$production['production_number']}} {{$production['production_date']}} {{$production['employee_name']}} {{$production['item_name']}} {{$production['item_qty']}} {{(array_key_exists("rate",$production)) ? $production['rate'] : 0}} {{(array_key_exists("additional_rate",$production)) ? $production['additional_rate'] : 0}} {{$production['item_price']}} {{$production['amount']}}
Net Total {{$net_qty}} {{$net_total}}
@csrf
Production Information
@if(!empty($employee_name) && $companyinfo->auto_post_production == 0)
Employee Payments From {{(isset($from_date)) ? $from_date : ''}} To: {{(isset($to_date)) ? $to_date : ''}}
@if(!empty($EmployeePaymentList)) @php $i=1; @endphp @foreach($EmployeePaymentList as $payment) @php $i++; @endphp @endforeach @endif
# Voucher # Employee Name Notes Net Total Voucher Date Action
{{$i}} {{$payment->voucher_number}} {{$employee_name}} {{$payment->note}} {{ ($payment->credit >0 ) ? $payment->credit : $payment->debit }} {{$payment->voucher_date}}
Net Total {{$EmployeePaymentSum}}
Employee Production From {{(isset($from_date)) ? $from_date : ''}} To: {{(isset($to_date)) ? $to_date : ''}}
@if(!empty($EmployeePostPorductionList)) @php $i=1; $net_total=0; @endphp @foreach($EmployeePostPorductionList as $list) @php $i++; $net_total+=$list->net_total; @endphp @endforeach @endif
# Voucher # Employee Name Net Total Voucher Date Action
{{$i}} {{$list->voucher_number}} {{$employee_name}} {{$list->net_total}} {{$list->voucher_date}}
Net Total {{$net_total}}
Employee Advance Return From {{(isset($from_date)) ? $from_date : ''}} To: {{(isset($to_date)) ? $to_date : ''}}
@php $net_total=0; @endphp @if(!empty($EmployeeAdvanceReturnList)) @php $i=1; @endphp @foreach($EmployeeAdvanceReturnList as $list) @php $i++; $net_total+=$list->amount; @endphp @endforeach @endif
# Voucher No Employee Name Amount Voucher Date Action
{{$list->id}} {{$list->voucher_number}} {{$list->name}} {{$list->amount}} {{$list->voucher_date}}
Net Total {{$EmployeePaymentSum}}
@endif