@extends('layouts.master') @section('title', 'Show Entry | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', __('basic.show entry')) @section('css') @endsection @section('fixedcontent') @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('basic.entries') }} | {{ __('basic.new entry') }} @role('Super-admin|Accountant-manager') @endrole
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
{{ __('basic.entry number')}}: {{ $entry->new_id }}
{{ __('basic.code')}}: {{ $entry->code }}
{{ __('basic.date')}}: {{ $entry->date }}
{{ __('basic.journal entry') }}: #{{ $entry->new_id }}
@foreach ($entry->items as $item) @if(!$loop->last OR $item->type == 1) @endif @endforeach
{{ __('basic.code') }}: #{{ $entry->code }}
@if($entry->currency_rate)
{{ __('basic.currency') }}: {{ $entry->currency->code }}
{{ __('basic.exchange rate') }}: {{ $entry->currency_rate }}
@endif
@if($entry->currency_rate) @endif @if($entry->currency_rate) @endif @foreach ($entry->items as $item) @if($entry->currency_rate) @endif @endforeach
{{ __('basic.account') }} {{ __('basic.description') }} {{ __('basic.debit') }} {{ __('basic.credit') }}{{ __('basic.local debit') }} {{ __('basic.local credit') }}
{{ __('basic.total') }} {{ $entry->total_amount }} {{ $entry->total_amount }} {{ $entry->total_amount_local }} {{ $system_currency->code }} {{ $entry->total_amount_local }} {{ $system_currency->code }}
{{ $item->account->code }} {{ $item->account->name }} {{ $item->description }} {{ $item->debit }} {{ $item->currency->code }} {{ $item->credit }} {{ $item->currency->code }} {{ $item->debit_local }} {{ $system_currency->code }} {{ $item->credit_local }} {{ $system_currency->code }}
@if($entry->cost_center) @foreach ($entry->cost_center as $item)
{{ __('basic.cost center')}}: {{ $item->new_id }}
{{ __('basic.account name')}}: {{ $item->account->name }}
{{ __('basic.account name')}}:
{{ __('basic.code') }}: #{{ $item->code }}
@if($entry->currency_rate)
{{ __('basic.currency') }}: {{ $entry->currency->code }}
{{ __('basic.exchange rate') }}: {{ $entry->currency_rate }}
@endif
@if($entry->currency_rate) @endif @if($item->currency_rate) @endif @if($entry->currency_rate) @endif
{{ __('basic.account') }} {{ __('basic.description') }} {{ __('basic.debit') }} {{ __('basic.credit') }}{{ __('basic.local debit') }} {{ __('basic.local credit') }}{{ __('basic.percentage') }}
{{ __('basic.total') }} {{ $item->debit }} {{ $item->credit }} {{ $item->debit_local }} {{ $system_currency->code }} {{ $item->debit_local }} {{ $system_currency->code }} {{ $item->percentage }}%
{{ $item->cost_center->code }} {{ $item->cost_center->name }} {{ $item->Description }} {{ $item->debit }} {{ $item->currency->code }} {{ $item->credit }} {{ $item->currency->code }} {{ $item->debit_local }} {{ $system_currency->code }} {{ $item->credit_local }} {{ $system_currency->code }} {{ $item->percentage }}%
@endforeach @endif
@role('Super-admin|Accountant-manager') @endrole @endsection @section('js') @endsection