@extends('layouts.layout')
@section('body_class', 'nav-md')
@section('css')
@endsection
@section('body_content')
@include('includes.sidebar')
Butik Emas Inventory
{{ $store_list->nama }}
{{--
--}}
Total Weight
Total Quantity
| Brands / Gold Contains |
GRAMASI |
@foreach($carats as $carat)
| {{ $carat->carat_description }} |
@endforeach
Total |
@php $grandTotalWeight = 0 @endphp
@foreach($brands as $list)
| {{ $list->brand }} |
@php $totalWeight = 0 @endphp
@foreach($carats as $carat)
@php $totalWeight += $store_list['item_' . $list->id . '_' . $carat->id]['weight'] @endphp
{{ $store_list['item_' . $list->id . '_' . $carat->id]['weight'] ? : '-' }} |
@endforeach
{{ $totalWeight }} |
@php $grandTotalWeight += $totalWeight @endphp
@endforeach
| TOTAL WEIGHT |
{{ $grandTotalWeight }} |
| Brands / Gold Contains |
QUANTITY |
@foreach($carats as $carat)
| {{ $carat->carat_description }} |
@endforeach
Total |
@php $grandTotalQuantity = 0 @endphp
@foreach($brands as $list)
| {{ $list->brand }} |
@php $totalQuantity = 0 @endphp
@foreach($carats as $carat)
@php $totalQuantity += $store_list['item_' . $list->id . '_' . $carat->id]['quantity'] @endphp
{{ $store_list['item_' . $list->id . '_' . $carat->id]['quantity'] ? : '-' }} |
@endforeach
{{ $totalQuantity }} |
@php $grandTotalQuantity += $totalQuantity @endphp
@endforeach
| TOTAL QUANTITY |
{{ number_format($grandTotalQuantity) }} |
@include('includes.footer')
@endsection
@section('scripts')
@endsection