@extends('layouts.app') @section('title', __('accounting::lang.journal_entry')) @section('content') @include('accounting::layouts.nav')

@lang( 'accounting::lang.journal_entry' )

@component('components.widget', ['class' => 'box-solid'])

@lang('report.filters')

{!! Form::label('location_id', __('business.business_locations') ) !!} {!! Form::select('location_id', $business_locations, request()->location_id, [ 'class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all'), ]) !!}
{!! Form::label('account_id', __( 'accounting::lang.account' ) ) !!} {!! Form::select('account_id', $all_accounts, request()->account_id,[ 'class' => 'form-control select2', 'placeholder' => __('lang_v1.all'), ]); !!}
{!! Form::label('page_number', __('invoice.preview') ) !!} {!! Form::select('page_number', [1 => "1",3 => "3",5 => "5",10 => "10",25 => "25",50 => "50",100 => "100",1000 => "1000"], request()->page_number, [ 'class' => 'form-control select2', 'placeholder' => __('lang_v1.all'), ]) !!}
{!! Form::label('transaction_date_range', __('report.date_range') ) !!}
{!! Form::text('transaction_date_range', null, ['class' => 'form-control', 'readonly', 'placeholder' => __('report.date_range')]) !!}
@endcomponent @component('components.widget', ['class' => 'box-solid']) @can('accounting.add_journal')
@endcan @forelse($data as $journal)
@foreach($journal->childs() as $child) @if($child->type == "debit")
@lang('accounting::lang.journal_type') {{$journal->type_trans}} @lang('accounting::lang.registration_number') {{$journal->ref_no}} @lang('receipt.date') {{@format_date($journal->operation_date)}}
@lang('accounting::lang.account') @lang('accounting::lang.detail') @lang('accounting::lang.debit') @lang('accounting::lang.credit') @lang('lang_v1.suspend_note')