@extends('layouts.app') @php $locale = app()->getLocale(); $isRtl = $locale === 'ar'; $currency = \App\Models\Setting::currencyLabel($locale); @endphp @section('title', $isRtl ? 'قيد جديد' : 'New Journal Entry') @section('content')

{{ $isRtl ? 'إنشاء قيد محاسبي' : 'Create Journal Entry' }}

{{ $isRtl ? 'يجب أن يكون مجموع المدين = مجموع الدائن' : 'Total debit must equal total credit' }}

@csrf @if($errors->any())

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

    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{ $isRtl ? 'بنود القيد' : 'Entry Lines' }}

{{ $isRtl ? 'أضف على الأقل سطرين' : 'Add at least 2 lines' }}

{{ $isRtl ? 'الحساب' : 'Account' }} {{ $isRtl ? 'مدين' : 'Debit' }} {{ $isRtl ? 'دائن' : 'Credit' }} {{ $isRtl ? 'الوصف' : 'Description' }}

{{ $isRtl ? 'إجمالي المدين:' : 'Total Debit:' }} {{ $currency }}

{{ $isRtl ? 'إجمالي الدائن:' : 'Total Credit:' }} {{ $currency }}

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