@extends('layouts.app') @section('title', __('accounting-reports::lang.edit_journal_entry')) @section('content')

@lang('accounting-reports::lang.edit_journal_entry')

{!! Form::open(['url' => route('accounting-reports.journal-entry-management.update', $journal->id), 'method' => 'put', 'id' => 'journal_entry_form']) !!} {!! Form::hidden('id', $journal->id) !!}

Journal Entry Details

{!! Form::label('voucher_date', __('accounting-reports::lang.voucher_date') . ':*') !!} {!! Form::text('voucher_date', $journal->voucher_date, ['class' => 'form-control date-picker', 'required', 'readonly']) !!}
{!! Form::label('location_id', __('accounting-reports::lang.location') . ':') !!} {!! Form::select('location_id', $locations, $journal->location_id, ['class' => 'form-control select2', 'placeholder' => __('lang_v1.all'), 'style' => 'width:100%']) !!}
{!! Form::label('narration', __('accounting-reports::lang.narration') . ':*') !!} {!! Form::text('narration', $journal->narration, ['class' => 'form-control', 'required']) !!}
{!! Form::label('reference', __('accounting-reports::lang.reference') . ':') !!} {!! Form::text('reference', $journal->reference, ['class' => 'form-control']) !!}

Journal Entry Lines

@foreach($journal->lines as $index => $line)

@endforeach
Total Debit: 0.00 | Total Credit: 0.00 | Difference: 0.00
@lang('messages.cancel')
{!! Form::close() !!}
@endsection @section('javascript') @endsection