@if(isset($item_movements[0])) @if($print)
Inward | Outward | Balance | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Date | Transaction | Other | Qnty | Price | Amount | Qnty | Price | Amount | Qnty | Price | Amount | ||||||||||||||||||
OPEN BALANCE | |||||||||||||||||||||||||||||
{{ \Carbon\Carbon::parse($item_movement->transaction_date)->toFormattedDateString()}} | {{--{{ $item_movement->reference_number}} | --}} @if($item_movement->transaction_type == "GRN")Received | GRN/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "GIN")Issued | GIN/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "LPO")Purchased | LPO/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "LPO_OPEN")Purchased | LPO/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "ASSET")Registred Asset | ASSET/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "ASSET_ASSIGN")Assigned Asset | ASSET/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "RETURN")Returned | RETURN/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "TRANSFER")Transferred | TRANSFER/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @else@endif | {{$other_quantity > 0 ? number_format($other_quantity) : ''}} | @if($item_movement->transaction_type == 'LPO' OR $item_movement->transaction_type == 'LPO_OPEN'){{$balance_quantity > 0 ? number_format($balance_quantity) : ''}} | @else | {{$in_quantity > 0 ? number_format($in_quantity) : ''}} | {{$in_price > 0 ? number_format($in_price) : ''}} | {{$in_amount > 0 ? number_format($in_amount) : ''}} | {{$out_quantity > 0 ? number_format($out_quantity) : ''}} | {{$out_price > 0 ? number_format($out_price) : ''}} | {{$out_amount > 0 ? number_format($out_amount) : ''}} | {{$balance_quantity > 0 ? number_format($balance_quantity) : ''}} | {{$item_price > 0 ? number_format($item_price) : ''}} | {{($balance_quantity * $item_price) > 0 ? number_format($balance_quantity * $item_price) : ''}} | @endif @endforeach|||||||
TOTAL INWARD | {{$in_quantity_total > 0 ? number_format($in_quantity_total) : ''}} | TOTAL OUTWARD | {{$out_quantity_total > 0 ? number_format($out_quantity_total) : ''}} | CLOSED BALANCE | {{$balance_quantity > 0 ? number_format($balance_quantity) : ''}} | {{($item_price*$balance_quantity) > 0 ? number_format($item_price*$balance_quantity,2) : ''}} |
Inward | Outward | Balance | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Date | Transaction | Other | Qnty | Price | Amount | Qnty | Price | Amount | Qnty | Price | Amount | ||||||||||||||||||
OPEN BALANCE | |||||||||||||||||||||||||||||
{{ \Carbon\Carbon::parse($item_movement->transaction_date)->toFormattedDateString()}} | {{--{{ $item_movement->reference_number}} | --}} @if($item_movement->transaction_type == "GRN")Received | trasaction_id)}}'> GRN/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "GIN")Issued | GIN/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "LPO")Purchased | LPO/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "LPO_OPEN")Purchased | LPO/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "ASSET")Registred Asset | ASSET/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "ASSET_ASSIGN")Assigned Asset | ASSET/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "RETURN")Returned | RETURN/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @elseif($item_movement->transaction_type == "TRANSFER")Transferred | TRANSFER/ {{\App\Logistics\Facades\Logistics::add_leading_zeros($item_movement->trasaction_id)}} | @else@endif | {{$other_quantity > 0 ? number_format($other_quantity) : ''}} | @if($item_movement->transaction_type == 'LPO' OR $item_movement->transaction_type == 'LPO_OPEN'){{$balance_quantity > 0 ? number_format($balance_quantity) : ''}} | @else | {{$in_quantity > 0 ? number_format($in_quantity) : ''}} | {{$in_price > 0 ? number_format($in_price) : ''}} | {{$in_amount > 0 ? number_format($in_amount) : ''}} | {{$out_quantity > 0 ? number_format($out_quantity) : ''}} | {{$out_price > 0 ? number_format($out_price) : ''}} | {{$out_amount > 0 ? number_format($out_amount) : ''}} | {{$balance_quantity > 0 ? number_format($balance_quantity) : ''}} | {{$item_price > 0 ? number_format($item_price) : ''}} | {{($balance_quantity * $item_price) > 0 ? number_format($balance_quantity * $item_price) : ''}} | @endif @endforeach|||||||
TOTAL INWARD | {{$in_quantity_total > 0 ? number_format($in_quantity_total) : ''}} | TOTAL OUTWARD | {{$out_quantity_total > 0 ? number_format($out_quantity_total) : ''}} | CLOSED BALANCE | {{$balance_quantity > 0 ? number_format($balance_quantity) : ''}} | {{($item_price*$balance_quantity) > 0 ? number_format($item_price*$balance_quantity,2) : ''}} |