@if ($checkm != $item->material_code)
{{$count}}
@php
$count++;
@endphp
@endif
|
@if ($checkm != $item->material_code)
{{$item->material_name}}
@endif
|
@if ($checkm != $item->material_code)
{{$item->material_code}}
@endif
|
@if ($item->tstype == 2)
{{$item->jobname}}
@elseif($item->tstype == 1)
ส่งวัสดุเข้า DXP
@elseif($item->tstype == 3)
ส่งกลับ AIS
@endif
|
{{$item->tsdate}}
|
@if ($item->tstype == 0)
{{$item->amount}}
@endif
|
@if ($item->tstype == 1)
{{$item->amount}}
@endif
|
@if ($item->tstype == 2)
{{$item->withdrawamount}}
@endif
|
|
@if ($item->tstype == 2)
{{$item->returnamount}}
@endif
|
@if ($item->tstype == 2)
{{$item->vendorwaste}}
@endif
|
@if ($item->tstype == 2)
{{$item->waste}}
@endif
|
|
@if ($item->tstype == 3)
{{$item->amount}}
@endif
|
|
|
@php
if($checkm != $item->material_code){
$checkm = $item->material_code;
}
@endphp
@endforeach