@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 ? 'يجب أن يكون مجموع المدين = مجموع الدائن' : 'Total debit must equal total credit' }}
{{ $isRtl ? 'يرجى تصحيح الأخطاء التالية:' : 'Please fix the following errors:' }}
{{ $isRtl ? 'أضف على الأقل سطرين' : 'Add at least 2 lines' }}
{{ $isRtl ? 'إجمالي المدين:' : 'Total Debit:' }} {{ $currency }}
{{ $isRtl ? 'إجمالي الدائن:' : 'Total Credit:' }} {{ $currency }}