@extends('layouts.layout')
@section('body_class', 'nav-md')
@section('css')
@endsection
@section('body_content')
@include('includes.sidebar')
- Home
- Butik Emas
- Inventory
Butik Emas Inventory
{{--
--}}
-- TOTAL STOCK --
Weight
Quantity
-- TOTAL REFINERY --
Weight
Quantity
| No |
Store Name |
Total Stock |
Total Refinery |
| Weight |
QTY |
Detail |
Weight |
QTY |
Detail |
@php
$total_weight_stock = $total_quantity_stock = $total_weight_refinery = $total_quantity_refinery = 0;
@endphp
@foreach($store_list as $key => $list)
@php
$total_weight_stock += $list->sum_stock['weight'];
$total_quantity_stock += $list->sum_stock['quantity'];
$total_weight_refinery += $list->sum_refinery['weight'];
$total_quantity_refinery += $list->sum_refinery['quantity'];
@endphp
| {{ $key += 1 }} |
{{ $list->nama }} |
{{ $list->sum_stock['weight'] }} |
{{ $list->sum_stock['quantity'] }} |
|
@if($list->id == 1)
{{ $list->sum_refinery['weight'] }} |
{{ $list->sum_refinery['quantity'] }} |
|
@else
- |
- |
- |
@endif
@endforeach
@include('includes.footer')
@endsection
@section('scripts')
@endsection