@extends('master') @section('content') {{-- Success Message --}} @if(session('success')) @endif {{-- Error Message --}} @if(session('error')) @endif {{-- Add CSS for flipdown --}}
{{-- Dashboard Content --}}

Stock Visualization

{{-- Widgets Row --}}
{{-- Need to PR Widget --}}
inventory_2
Total Items in Stock {{ number_format($totalItemsInStock) }} Items Last update: {{ $lastUpdate }}
{{-- Countdown --}} {{-- Active Users Widget --}}
payments
Total Items Value Rp {{ number_format($totalValue, 0, ',', '.') }} See detail arrow_forward
{{-- Downloads Widget --}}
point_of_sale
Total Items Expense Rp {{ number_format($expenseData['total'], 0, ',', '.') }} See detail arrow_forward {{-- Total pengeluaran {{ $expenseData['summary']['Period'] }} --}}
Items Need to PR
@if($needPrCount > 0) warning_amber {{ $needPrCount }} Item @else Yay, No need to PR!check_circle @endif
@if($needPrCount > 0) @endif
Qty Items Berlebih {{-- See detail arrow_forward --}}
{{ number_format($totalExcess) }} Items
Value Items Berlebih See detail arrow_forward
Rp {{ number_format($totalExcessValue, 0, ',', '.') }}
Most stocked item {{ $mostStockedItem['item_code'] }}
{{ number_format($mostStockedItem['total_quantity']) }} units
{{--
warehouse
Most Stocked Item 156 Units
--}}
{{-- Second Row of Widgets --}}
{{-- Most Stocked Item Widget --}}
pending_actions
Items Near Expired @if($edValues['near_ed_count'] > 0) {{ number_format($edValues['near_ed_count']) }} Items @else No item near ED!check_circle @endif
Expiring within 60 days See detail arrow_forward
{{-- Total Item Value Widget --}}
auto_delete
Potential Loss Value @if($edValues['near_ed_count'] > 0 || $edValues['ed_count'] > 0) Rp {{ number_format($nearEdCount['total_value'], 0, ',', '.') }} @if($edValues['ed_count'] > 0) Sudah ED : {{ number_format($edValues['ed_count']) }} @endif @if($edValues['near_ed_count'] > 0) Near ED : {{ number_format($edValues['near_ed_count']) }} @endif @else No potential loss!check_circle @endif
{{-- Potential Loss Widget --}}
delete_sweep
Loss Value @if($lossData['total_items'] > 0) Rp {{ number_format($lossData['total_loss'], 0, ',', '.') }} @else No loss value!check_circle @endif From history item musnah
Sublab Expense Weekly
Top Items Usage Monthly
Verify Stock Sublab Week 2
@if(($verificationStatus['mikro']['accuracy'] ?? 0) == 100) crown @endif
@if(($verificationStatus['cpo']['accuracy'] ?? 0) == 100) crown @endif
@if(($verificationStatus['ci']['accuracy'] ?? 0) == 100) crown @endif
{{--
trending_up
Monthly Usage Trend 876 Items Total items used this month
keyboard_arrow_up 12%
price_check
Monthly Expense Trend Rp 45,678,000 Total expense this month
inventory
Stock Level Status 85% Items within safe stock level
keyboard_arrow_up 5%
--}}
@push('scripts') @endpush @endsection