@extends('layouts.app') @php $locale = app()->getLocale(); $isRtl = $locale === 'ar'; $currency = \App\Models\Setting::currencyLabel($locale); @endphp @section('title', $isRtl ? 'مصروف جديد' : 'New Expense') @section('content')

{{ $isRtl ? 'تسجيل مصروف' : 'Record Expense' }}

{{ $isRtl ? 'إضافة مصروف جديد' : 'Add a new expense' }}

@if($errors->any())

{{ $isRtl ? 'يرجى تصحيح الأخطاء التالية:' : 'Please fix the following errors:' }}

@endif
@csrf
{{ $currency }}

{{ $isRtl ? 'JPG/PNG/PDF حتى 5MB' : 'JPG/PNG/PDF up to 5MB' }}

{{ $isRtl ? 'إلغاء' : 'Cancel' }}
@endsection