@extends('layouts.app') @section('title', __('accounting.create_journal_entry')) @section('content')

{{ __('accounting.create_journal_entry') }}

@if(auth()->user()->can('create_manual_journal') || auth()->user()->can('account.access'))
@csrf {{-- تفاصيل القيد --}}

{{ __('accounting.entry_details') }}

@error('entry_date') {{ $message }} @enderror
{{-- بنود القيد --}}

{{ __('accounting.lines') }}

@php $old_lines = old('lines', [ ['account_id' => '', 'debit' => '', 'credit' => '', 'memo' => ''], ['account_id' => '', 'debit' => '', 'credit' => '', 'memo' => ''], ]); @endphp @foreach($old_lines as $index => $line) @endforeach
{{ __('accounting.account') }} * {{ __('accounting.debit') }} {{ __('accounting.credit') }} {{ __('accounting.memo') }}
{{ __('accounting.total') }} 0.00 0.00
{{-- template مخفي لأسماء الحسابات --}} @endif
@endsection @section('javascript') @endsection