@extends('accounting::layouts.app') @section('title') {{ trans_choice('accounting::general.journal', 1) }} {{ trans_choice('accounting::lang.entry', 2) }} @endsection @section('css') @stop @section('content') @include('accounting::layouts.nav') @component('accounting::components.section_header') @slot('title') {{ trans_choice('accounting::general.accounting', 1) }} @endslot @slot('subtitle') {{ trans_choice('accounting::general.journal', 1) }} {{ trans_choice('accounting::lang.entry', 2) }} @endslot @endcomponent
@component('accounting::components.filters', ['title' => __('report.filters')])
@endcomponent
@can('product.view')
@component('accounting::components.box') @slot('header')
@can('accounting.journal_entries.create') {{ trans_choice('accounting::lang.add', 1) }} @endcan
@endslot @slot('body')
@foreach ($data as $key) @endforeach
{{ trans_choice('accounting::lang.action', 1) }} {{ trans_choice('accounting::lang.entry', 1) }} {{ trans_choice('accounting::lang.id', 1) }} {{ trans_choice('accounting::lang.business_location', 1) }} {{ trans_choice('accounting::lang.transaction', 1) }} {{ trans_choice('accounting::lang.date', 1) }} {{ trans_choice('accounting::lang.transaction', 1) }}# {{ trans_choice('accounting::lang.type', 1) }} {{ trans_choice('accounting::lang.account', 1) }} {{ trans_choice('accounting::general.account_subtype', 1) }} {{ trans_choice('accounting::lang.account', 1) }} {{ trans_choice('accounting::general.detail_type', 1) }} {{ trans_choice('accounting::general.debit', 1) }} {{ trans_choice('accounting::general.credit', 1) }} {{ trans_choice('accounting::lang.created_by', 1) }}
{{ $key->id }} {{ $key->business_location }} {{ $key->date }} {{ $key->transaction_number }} @if ($key->account_type == 'asset') {{ trans_choice('accounting::general.asset', 1) }} @elseif ($key->account_type == 'expense') {{ trans_choice('accounting::general.expense', 1) }} @elseif ($key->account_type == 'equity') {{ trans_choice('accounting::general.equity', 1) }} @elseif ($key->account_type == 'liability') {{ trans_choice('accounting::general.liability', 1) }} @elseif ($key->account_type == 'income') {{ trans_choice('accounting::general.income', 1) }} @endif {{ $key->account_name }} {{ $key->account_subtype }} {{ $key->account_detail_type }} {{ number_format($key->debit) }} {{ number_format($key->credit) }} {{ $key->created_by }}
@endslot @endcomponent
@endcan
@stop @section('javascript') @endsection