{{-- * Created by PhpStorm. * User: Programmer 1 * Date: 15-Feb-18 * Time: 5:05 PM --}}
@forelse($item_group->items as $key => $item) @empty @endforelse
S/N Particulars Quantity Unit Price Value
{{ ++$key }} {{ $item->name }} {{ number_format($quantity, 2) }} {{ isset($item->unit->name) ? $item->unit->name : '' }} {{ number_format($average_price, 2) }} {{ number_format($amount, 2) }}
No data found!
Total Amount {{ number_format($total_amount, 2) }}
@forelse($item_group->childGroups as $key => $child_group) @empty @endforelse
S/N Name Description
{{ ++$key }} {{ $child_group->name }} {{ $child_group->description }}
No data found!
{{--
@if(isset($item_group->parentGroup->name)) @else @endif
S/N Name Description
{{ 1 }} {{ $item_group->parentGroup->name }} {{ $item_group->parentGroup->description }}
No data found!
--}}