<div class="card">
    <div class="card-header" id="mpesa_settings">
        <h5 class="mb-0">
                <span class="page-title"> <?php echo e(__('MPESA Settings')); ?></span>            
        </h5>
    </div>
    <div class="card-body">
        <div class="row">
            <div class="form-group col-md-4">
                <label for="mpesa_account_type"><?php echo e(__('Payment Type')); ?></label>
                <select name="mpesa_account_type" class="form-control">
                    <option value="PAYBILL" <?php if(isset($settings['mpesa_account_type']) && $settings['mpesa_account_type']=='PAYBILL'): ?> selected <?php endif; ?> >PAYBILL</option>
                    <option value="TILL" <?php if(isset($settings['mpesa_account_type']) && $settings['mpesa_account_type']=='TILL'): ?> selected <?php endif; ?> >BUY GOODS TILL</option>
                </select>
            </div>

            <div class="form-group col-md-4">
                <label for="mpesa_consumer_key"><?php echo e(__('Consumer Key')); ?></label>
                <input type="text" name="mpesa_consumer_key" class="form-control" value="<?php echo e($settings['mpesa_consumer_key']??''); ?>">
            </div>

            <div class="form-group col-md-4">
                <label for="mpesa_consumer_secret"><?php echo e(__('Consumer Secret')); ?></label>
                <input type="text" name="mpesa_consumer_secret" class="form-control" value="<?php echo e($settings['mpesa_consumer_secret']??''); ?>">
            </div>

            <div class="form-group col-md-4">
                <label for="mpesa_pass_key"><?php echo e(__('Pass Key')); ?></label>
                <input type="text" name="mpesa_pass_key" class="form-control" value="<?php echo e($settings['mpesa_pass_key']??''); ?>">
            </div>

            <div class="form-group col-md-4">
                <label for="mpesa_short_code"><?php echo e(__('Short Code (PayBill/Buy Goods Number)')); ?></label>
                <input type="number" name="mpesa_short_code" class="form-control" value="<?php echo e($settings['mpesa_short_code']??''); ?>">
            </div>

            <div class="form-group col-md-4">
                <label for="mpesa_head_office"><?php echo e(__('Head Office (if Buy Goods Till)')); ?></label>
                <input type="number" name="mpesa_head_office" class="form-control" value="<?php echo e($settings['mpesa_head_office']??''); ?>">
            </div>
            <div class="form-group col-md-12">
                <?php echo $__env->make('softeriaplugin::mpesa.checkout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
        </div>
    </div>
</div>
<?php /**PATH D:\FromHardDisk\Davies\CleverSys\The Systems\erp.cleversys.co.ke\Modules/SofteriaPlugin\Resources/views/mpesa/settings.blade.php ENDPATH**/ ?>