@php $isAjax = $isAjax ?? false; $isAjaxYajra = $isAjaxYajra ?? false; $isIndex = Route::is('bank-deposits.index'); @endphp @extends('stisla.layouts.app-datatable') @section('table') @include('stisla.bank-deposits.table') @endsection @section('filter_top') @if ($isIndex) @include('stisla.includes.others.filter-default', ['is_show' => false]) @endif @endsection @section('btn-action-header') @if ($isIndex) @endif @endsection @section('panel1')
| Total Estimasi | {{ rp($tot = $data->sum('estimation')) }} | Konvensional | {{ rp($kon = $data->where($isIndex ? 'bank.bank_type' : 'bankdeposit.bank.bank_type', 'Konvensional')->sum('estimation')) }} ({{ rp($tot == 0 ? 0 : ($kon / $tot) * 100) }}%) | Syariah | {{ rp($sya = $data->where($isIndex ? 'bank.bank_type' : 'bankdeposit.bank.bank_type', 'Syariah')->sum('estimation')) }} ({{ rp($tot == 0 ? 0 : ($sya / $tot) * 100) }}%) |
| Total Realisasi | {{ rp($tot = $data->sum('realization')) }} | Konvensional | {{ rp($kon = $data->where($isIndex ? 'bank.bank_type' : 'bankdeposit.bank.bank_type', 'Konvensional')->sum('realization')) }} ({{ rp($tot == 0 ? 0 : ($kon / $tot) * 100) }}%) | Syariah | {{ rp($sya = $data->where($isIndex ? 'bank.bank_type' : 'bankdeposit.bank.bank_type', 'Syariah')->sum('realization')) }} ({{ rp($tot == 0 ? 0 : ($sya / $tot) * 100) }}%) |
| Total Amount | {{ rp($tot = $data->sum('amount')) }} | Konvensional | {{ rp($kon = $data->where($isIndex ? 'bank.bank_type' : 'bankdeposit.bank.bank_type', 'Konvensional')->sum('amount')) }} ({{ rp($tot == 0 ? 0 : ($kon / $tot) * 100) }}%) | Syariah | {{ rp($sya = $data->where($isIndex ? 'bank.bank_type' : 'bankdeposit.bank.bank_type', 'Syariah')->sum('amount')) }} ({{ rp($tot == 0 ? 0 : ($sya / $tot) * 100) }}%) |
| Max Amount | {{ rp($data->max('amount')) }} | ||||
| Max Estimasi | {{ rp($data->max('estimation')) }} | ||||
| Max PA | {{ rp($data->max('per_anum')) }}% |