@use('App\Services\Date') @extends('companyuser::layouts.master') @section('title', __('accounting::manual_journal_entries.New Manual Journal Entry')) @section('extra-styles') @endsection @push('generalSettings-style') @endpush @section('breadcrumb') @endsection @section('content')
@if($data['journal_entries_available_limit'] > 0 || is_null($data['journal_entries_available_limit'])) @yield('open_form_tag')
@yield('action-buttons')
@yield('back_button')
@include('companyuser::errors.all') @include('companyuser::errors.lists')

@lang('accounting::manual_journal_entries.conflicting_records_note')

@error('journal_date') @enderror
@error('journal_number') @enderror
@yield('vue_component')
@if(!array_key_exists('entry',$data)) @php $MemoValue = old('memo')? old('memo') : (array_key_exists('defaultOrderData', $data) && $data['defaultOrderData']? $data['defaultOrderData']['memo'] : ''); @endphp @else @php $MemoValue = old('memo') ?? $data['entry']->memo; @endphp @endif @error('memo') {{ $message }} @enderror
@if(($data['customFields'])->count())
@foreach($data['customFields'] as $key=>$field)
@if($field['type']=='checkbox') @elseif($field->type == 'date') @else @endif
@endforeach
@endif @if($data['fiscalYear']) @endif @if(is_null($data['maxRecords'])) @else @endif
@else @include('info.limit_reached') @endif
@endsection @section('extra_scripts') @hasSection('revert_script') @yield('revert_script') @else @endif @endsection