@extends('admin.layouts.master') @section('title', 'الشفتات') @section('css') @endsection @section('content')
| # | الخزنة | المستخدم | فتح | إقفال | Opening | Expected | Actual | فرق | الحالة | إجراءات |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration + ($shifts->currentPage()-1)*$shifts->perPage() }} |
{{ $shift->treasury?->name ?? '-' }}
#{{ $shift->treasury_id }}
|
{{ $shift->actor?->name ?? '-' }}
#{{ $shift->actor_user_id }}
|
{{ optional($shift->opened_at)->timezone('Africa/Cairo')->format('Y-m-d h:i A') }}
|
@if($shift->closed_at)
{{ optional($shift->closed_at)->timezone('Africa/Cairo')->format('Y-m-d h:i A') }}
@else
—
@endif
|
{{ number_format((float)$shift->opening_balance, 2) }} | {{ number_format((float)$shift->closing_expected, 2) }} | {{ $shift->closing_actual !== null ? number_format((float)$shift->closing_actual, 2) : '—' }} | @php $diff = (float)$shift->difference; @endphp @if(!$isOpen) {{ number_format($diff, 2) }} @else — @endif | @if($isOpen) مفتوح @else مغلق @endif | |
| لا يوجد شفتات حتى الآن. | ||||||||||