@extends('layouts.app') @section('title', 'تفاصيل الانتداب') @section('content')

تفاصيل الانتداب #{{ $trip->id }}

رجوع
@if($trip->actual_cost)@endif
الموظف{{ $trip->employee_name }}
الوجهة{{ $trip->destination }}
الغرض{{ $trip->purpose }}
الفترة{{ $trip->start_date }} ← {{ $trip->end_date }}
البدل اليومي{{ number_format($trip->daily_allowance, 2) }} {{ $trip->currency }}
ميزانية النقل{{ number_format($trip->transport_budget, 2) }}
ميزانية الإقامة{{ number_format($trip->accommodation_budget, 2) }}
إجمالي الميزانية{{ number_format($trip->total_budget, 2) }} {{ $trip->currency }}
التكلفة الفعلية{{ number_format($trip->actual_cost, 2) }}
الحالة{{ $trip->status }}
@if($trip->status == 'approved')
@csrf
إغلاق الانتداب
@endif
مصروفات مرتبطة
@forelse($expenses as $e)
{{ $e->title }} {{ number_format($e->amount, 2) }} {{ $e->currency }}
@empty

لا توجد مصروفات مسجلة

@endforelse
@if($trip->trip_report)
تقرير الرحلة

{{ $trip->trip_report }}

@endif
@endsection