Viewing file: e8690b19ac88c8017fade9a538a0780301d38903.php (5.25 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(trans('Assign SenderID')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>"> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <h2 class="card-title"><?php echo e(trans('Assign SenderID')); ?></h2> </div> <!-- /.card-header --> <div class="card-body table-body"> <form action="<?php echo e(route('admin.customer.save.assign.senderid')); ?>" method="post"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-md-6"> <label for="">Customers</label> <select name="customer_id" class="form-control select2" id=""> <?php if($customers->isNotEmpty()): ?> <?php $__currentLoopData = $customers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $customer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($customer->id); ?>"><?php echo e($customer->email); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <option value=""><?php echo e(trans('--No Data Available--')); ?></option> <?php endif; ?> </select> </div> <div class="col-md-6"> <label for=""><?php echo e(trans('Gateway')); ?></label> <select name="dynamic_gateway_id" class="form-control select2" > <?php $__currentLoopData = $availableSMSGateway; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gateway): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($gateway->id); ?>"><?php echo e($gateway->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> <small> If your sms gateways are not showing, please configure API key first from <a class="text-danger" target="_blank" href="<?php echo e(route('admin.settings.index',['tab'=>'api'])); ?>"><b>click here <i class="fas fa-external-link-alt"></i></b></a></small> </div>
<div class="col-md-6 mt-3"> <label for=""><?php echo e(trans('Sender ID')); ?></label> <input type="text" class="form-control" name="sender_id" placeholder="Enter SenderID"> </div>
<div class="col-md-6 mt-3"> <label for=""><?php echo e(trans('Expire Date')); ?></label> <input type="date" value="<?php echo e(now()->addMonth()->toDateString()); ?>" name="expire_date" class="form-control" placeholder="Enter Expire Date"> </div>
<div class="col-md-12 mt-3"> <button class="btn btn-primary" type="submit"> <?php echo e(trans('Submit')); ?>
</button> </div>
</div>
</form> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script> "use strict"; $('.select2').select2({ multiple: false }); </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/test.sms.picotech.app/public_html/resources/views/admin/customers/assign_senderid.blade.php ENDPATH**/ ?>
|