| Path : /var/www/html/thb_loan_system/storage/framework/views/ |
|
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/storage/framework/views/82ff7568e6aa92784f2aeccc39f190f3e9791148.php |
<?php $__env->startSection('title'); ?>
<?php echo e(translate('add charge')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="panel panel-white">
<div class="panel-heading">
<h6 class="panel-title"><?php echo e(translate('add charge')); ?></h6>
<div class="heading-elements">
</div>
</div>
<?php echo Form::open(array('url' => url('charge/store'), 'method' => 'post', 'class' => 'form-horizontal')); ?>
<div class="panel-body">
<div class="form-group">
<?php echo Form::label('name',translate('name')." *",array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::text('name',null, array('class' => 'form-control', 'placeholder'=>"",'required'=>'required')); ?>
</div>
</div>
<div class="form-group">
<?php echo Form::label('product',translate('product')." *",array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::select('product',['loan'=>translate('loan'),'savings'=>translate('saving')],'loan', array('class' => 'form-control', 'id'=>"product",'required'=>'required')); ?>
</div>
</div>
<div class="form-group" id="loanChargeTypeDiv">
<?php echo Form::label('loan_charge_type',translate('charge')." ".translate('type'),array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::select('loan_charge_type',['disbursement'=>translate('disbursement'),'specified_due_date'=>translate('specified_due_date'),'installment_fee'=>translate('installment_fee'),'overdue_installment_fee'=>translate('overdue_installment_fee'),'loan_rescheduling_fee'=>translate('loan_rescheduling_fee'),'overdue_maturity'=>translate('overdue_maturity')],'disbursement', array('class' => 'form-control', 'id'=>"loan_charge_type",'required'=>'required')); ?>
</div>
</div>
<div class="form-group" id="savingsChargeTypeDiv">
<?php echo Form::label('savings_charge_type',translate('charge')." ".translate('type'),array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::select('savings_charge_type',['specified_due_date'=>translate('specified_due_date'),'savings_activation'=>translate('savings_activation'),'withdrawal_fee'=>translate('withdrawal_fee'),'annual_fee'=>translate('annual_fee'),'monthly_fee'=>translate('monthly_fee')],'specified_due_date', array('class' => 'form-control', 'id'=>"savings_charge_type",'required'=>'required')); ?>
</div>
</div>
<div class="form-group">
<?php echo Form::label('amount',translate('amount')." *",array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::text('amount',null, array('class' => 'form-control touchspin', 'id'=>"amount",'required'=>'required')); ?>
</div>
</div>
<div class="form-group" id="loanChargeOptionDiv">
<?php echo Form::label('loan_charge_option',translate('charge')." ".translate('option'),array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::select('loan_charge_option',['fixed'=>translate('fixed'),'principal_due'=>translate('principal').' '.translate('due'),'principal_interest'=>translate('principal').' + '.translate('interest').' '.translate('due'),'interest_due'=>translate('interest').' '.translate('due'),'total_due'=>translate('total').' '.translate('due'),'original_principal'=>translate('original').' '.translate('principal')],'fixed', array('class' => 'form-control', 'id'=>"loan_charge_option",'required'=>'required')); ?>
</div>
</div>
<div class="form-group" id="savingsChargeOptionDiv">
<?php echo Form::label('savings_charge_option',translate('charge')." ".translate('option'),array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::select('savings_charge_option',['fixed'=>translate('fixed'),'percentage'=>translate('percentage')],'fixed', array('class' => 'form-control', 'id'=>"savings_charge_option",'required'=>'required')); ?>
</div>
</div>
<div class="form-group" id="penaltyDiv">
<?php echo Form::label('penalty',translate('penalty'),array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::select('penalty',['1'=>translate('yes'),'0'=>translate('no')],'0', array('class' => 'form-control', 'id'=>"penalty",'required'=>'required')); ?>
</div>
</div>
<div class="form-group">
<?php echo Form::label('active',translate('active'),array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::select('active',['1'=>translate('yes'),'0'=>translate('no')],'1', array('class' => 'form-control', 'id'=>"active",'required'=>'required')); ?>
</div>
</div>
<div class="form-group" id="overrideDiv">
<?php echo Form::label('override',translate('override'),array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::select('override',['1'=>translate('yes'),'0'=>translate('no')],'0', array('class' => 'form-control', 'id'=>"override",'required'=>'required')); ?>
</div>
</div>
</div>
<!-- /.panel-body -->
<div class="panel-footer">
<div class="heading-elements">
<button type="submit" class="btn btn-primary pull-right"> <?php echo e(translate('save')); ?></button>
</div>
</div>
<?php echo Form::close(); ?>
</div>
<!-- /.box -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('footer-scripts'); ?>
<script>
$(document).ready(function (e) {
if($('#product').val()==="loan"){
$('#loanChargeTypeDiv').show();
$('#loanChargeOptionDiv').show();
$('#penaltyDiv').show();
$('#overrideDiv').show();
$('#savingsChargeTypeDiv').hide();
$('#savingsChargeOptionDiv').hide();
}else {
$('#savingsChargeTypeDiv').show();
$('#savingsChargeOptionDiv').show();
$('#loanChargeTypeDiv').hide();
$('#loanChargeOptionDiv').hide();
$('#penaltyDiv').hide();
$('#overrideDiv').hide();
}
$('#product').change(function () {
if($('#product').val()==="loan"){
$('#loanChargeTypeDiv').show();
$('#loanChargeOptionDiv').show();
$('#penaltyDiv').show();
$('#overrideDiv').show();
$('#savingsChargeTypeDiv').hide();
$('#savingsChargeOptionDiv').hide();
}else {
$('#savingsChargeTypeDiv').show();
$('#savingsChargeOptionDiv').show();
$('#loanChargeTypeDiv').hide();
$('#loanChargeOptionDiv').hide();
$('#penaltyDiv').hide();
$('#overrideDiv').hide();
}
})
})
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/thb_loan_system/resources/views/charge/create.blade.php ENDPATH**/ ?>