@extends('portal.ninja2020.layout.app') @section('meta_title', ctrans('texts.credits')) @push('head') @endpush @section('header') {{ Breadcrumbs::render('credits') }} @if($errors->any())
@foreach($errors->all() as $error)

{{ $error }}

@endforeach
@endif

{{ ctrans('texts.credits') }}

{{ ctrans('texts.list_of_credits') }}

@endsection @section('body')
@foreach($credits as $credit) @endforeach
{{ ctrans('texts.amount') }} {{ ctrans('texts.balance') }} {{ ctrans('texts.credit_date') }} {{ ctrans('texts.public_notes') }}
{{ App\Utils\Number::formatMoney($credit->amount, $credit->client) }} {{ App\Utils\Number::formatMoney($credit->balance, $credit->client) }} {{ $credit->formatDate($credit->date, $credit->client->date_format()) }} {{ empty($credit->public_notes) ? '/' : $credit->public_notes }} @lang('texts.view')
@endsection @push('footer') @endpush