@extends('layouts.app') @section('title', __('dashboard.sidebar_laundry_ops')) @section('page_heading', __('dashboard.sidebar_laundry_ops')) @section('content') @php $currentState = $state ?? request('state', 'active'); $hasFilter = request()->hasAny(['search','sku_search','laundry_id','status']); $statusBadge = ['sent'=>['var(--c-primary-bg)','var(--c-primary)','مُرسل'],'partially_received'=>['#fffbeb','#d97706','مستلم جزئياً'],'received'=>['#f0fdf4','#16a34a','مستلم']]; @endphp {{-- KPIs --}}
| {{ $h }} | @endforeach{{ __('dashboard.Actions') }} | |||||
|---|---|---|---|---|---|---|
| {{ $op->id }} |
{{ $op->laundry->name }}
@if($op->trashed())محذوف@endif
|
@foreach($op->operationProducts as $pivot)
@if($pivot->product)
{{ $pivot->product->sku }}
{{ $pivot->product->name }}
@endif
@endforeach
|
{{ $op->created_at->format('Y-m-d H:i') }} | {{ $slabel }} |
@if($op->status !== 'sent')
{{ number_format($op->laundry_amount,2) }}
ج.م
@else
—
@endif
|
@canany(['view laundry operations','edit laundry operations','delete laundry operations'])
|