{{trans('general.date')}} |
{{trans('products.product')}} |
{{trans('products.stock_transfer_from')}} |
{{trans('products.stock_transfer_to')}} |
{{trans('products.qty')}} |
{{trans('general.total')}} |
@php
$fill = false;
$balance=0;
foreach ($account_details as $row) {
if ($fill == true) {
$flag = ' mfill';
} else {
$flag = '';
}
$balance += $row['value'];
echo '' . dateFormat($row['created_at']) . ' | ' . @$row->product->product['name'] . ' ' . @$row->product['name'] . ' | ' . $row->from_warehouse['title'] . ' | ' . $row->to_warehouse['title'] . ' | ' . numberFormat($row['value']) . ' | ' . numberFormat($balance) . ' '.@$row->product->product['unit'].' |
';
$fill = !$fill;
}
@endphp