@extends('layouts.app') @section('title', __('app.dashboard')) @section('content')
@can('dashboard.can.view.low.stock.items.table')
{{ __('item.low_stock_items') }}
@can('item.view') @endcan
@php $i = 1; @endphp @foreach($lowStockItems as $item) @endforeach
# {{ __('item.item_name') }} {{ __('item.brand.brand') }} {{ __('item.category.category') }} {{ __('item.min_stock') }} {{ __('item.current_stock') }} {{ __('unit.unit') }}
{{ $i++ }} {{ $item->name }} {{ $item->brand->name??'' }} {{ $item->category->name }} {{ $formatNumber->formatQuantity($item->min_stock) }} {{ $formatNumber->formatQuantity($item->current_stock) }} {{ $item->baseUnit->name }}
@endcan @can('dashboard.can.view.recent.invoices.table')
Purchase Orders
@foreach($pendingPurchaseOrders as $po) @endforeach
Order ID Order Date Due Date Supplier Total Balance Status
{{ $po->order_code }} {{ $po->order_date }} {{ $po->due_date }} {{ optional($po->party)->getFullName() }} {{ $formatNumber->formatWithPrecision($po->grand_total) }} {{ $formatNumber->formatWithPrecision($po->grand_total - $po->paid_amount) }}
{{ $po->order_status }}
@endcan
@endsection @section('js') @endsection