Path : /var/www/html/thb_loan_system/resources/views/charge/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/html/thb_loan_system/resources/views/charge/data.blade.php |
@extends('layouts.master') @section('title'){{translate('charge')}} @endsection @section('content') <div class="panel panel-white"> <div class="panel-heading"> <h6 class="panel-title">{{translate('charge')}}</h6> <div class="heading-elements"> <a href="{{ url('charge/create') }}" class="btn btn-info btn-sm">{{translate('add charge')}}</a> </div> </div> <div class="panel-body"> <table id="" class="table table-striped table-condensed table-hover basic-datatable"> <thead> <tr> <th>{{translate('name')}}</th> <th>{{translate('product')}}</th> <th>{{translate('type')}}</th> <th>{{translate('active')}}</th> <th>{{translate('amount')}}</th> <th>{{ translate('action') }}</th> </tr> </thead> <tbody> @foreach($data as $key) <tr> <td>{{ $key->name }}</td> <td> @if($key->product=='loan') {{translate('loan')}} @endif @if($key->product=='savings') {{translate('saving')}} @endif </td> <td> @if($key->charge_type=='disbursement') {{translate('disbursement')}} @endif @if($key->charge_type=='specified_due_date') {{translate('specified_due_date')}} @endif @if($key->charge_type=='installment_fee') {{translate('installment_fee')}} @endif @if($key->charge_type=='overdue_installment_fee') {{translate('overdue_installment_fee')}} @endif @if($key->charge_type=='loan_rescheduling_fee') {{translate('loan_rescheduling_fee')}} @endif @if($key->charge_type=='overdue_maturity') {{translate('overdue_maturity')}} @endif @if($key->charge_type=='savings_activation') {{translate('savings_activation')}} @endif @if($key->charge_type=='withdrawal_fee') {{translate('withdrawal_fee')}} @endif @if($key->charge_type=='monthly_fee') {{translate('monthly_fee')}} @endif @if($key->charge_type=='annual_fee') {{translate('annual_fee')}} @endif </td> <td> @if($key->active==1) {{translate('active')}} @else {{translate('inactive')}} @endif </td> <td> {{$key->amount}} @if($key->charge_option=="fixed") {{translate('fixed')}} @endif @if($key->charge_option=="principal_due") % {{translate('principal due')}} @endif @if($key->charge_option=="principal_interest") % {{translate('principal')}} + {{translate('interest due')}} @endif @if($key->charge_option=="interest_due") % {{translate('interest due')}} @endif @if($key->charge_option=="total_due") % {{translate('total due')}} @endif @if($key->charge_option=="original_principal") % {{translate('original principal')}} @endif </td> <td> <ul class="icons-list"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="icon-menu9"></i> </a> <ul class="dropdown-menu dropdown-menu-right" role="menu"> <li><a href="{{ url('charge/'.$key->id.'/edit') }}"><i class="fa fa-edit"></i> {{ translate('edit') }} </a></li> <li><a href="{{ url('charge/'.$key->id.'/delete') }}" class="delete"><i class="fa fa-trash"></i> {{ translate('delete') }} </a></li> </ul> </li> </ul> </td> </tr> @endforeach </tbody> </table> </div> <!-- /.panel-body --> </div> <!-- /.box --> @endsection @section('footer-scripts') @endsection