@extends('Layouts.report') @section('content')
{{ trans('main.journal_code') }} | {{ trans('main.journal_date') }} | {{ trans('main.first_duration_balance') }} | {{ trans('main.in_duration_balance') }} | {{ trans('main.end_duration_balance') }} | |||
---|---|---|---|---|---|---|---|
{{ trans('main.debit') }} | {{ trans('main.credit') }} | {{ trans('main.debit') }} | {{ trans('main.credit') }} | {{ trans('main.debit') }} | {{ trans('main.credit') }} | ||
{{ $row['account_code'] }} | @if($row['account_type'] == 1) {{ $row['name'] }} @else {{ $row['name'] }} @endif | {{ fix_number($row['first_debit'] , 1) }} | {{ fix_number($row['first_credit'] , 1) }} | {{ fix_number($row['actions_debit'] , 1) }} | {{ fix_number($row['actions_credit'] , 1) }} | {{ fix_number($row['final_debit'] , 1) }} | {{ fix_number($row['final_credit'] , 1) }} |
{{ trans('main.total') }} | {{ fix_number($data['report'][count($data['report'])-1]['first_debit'] , 1) }} | {{ fix_number($data['report'][count($data['report'])-1]['first_credit'] , 1) }} | {{ fix_number($data['report'][count($data['report'])-1]['actions_debit'] , 1) }} | {{ fix_number($data['report'][count($data['report'])-1]['actions_credit'] , 1) }} | {{ fix_number($data['report'][count($data['report'])-1]['final_debit'] , 1) }} | {{ fix_number($data['report'][count($data['report'])-1]['final_credit'] , 1) }} |