<div class="col-md-6 col-12"> <div class="form-body"> <form class="form form-vertical" action="<?php echo e(route('admin.settings.notifications')); ?>" method="post"> <?php echo csrf_field(); ?> <div class="col-12"> <div class="mb-1"> <label for="notification_sms_gateway" class="form-label required"><?php echo e(__('locale.settings.notification_sms_gateway')); ?></label> <select class="form-select select2" id="notification_sms_gateway" name="notification_sms_gateway"> <?php if($sending_servers->count()): ?> <?php $__currentLoopData = $sending_servers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $server): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($server->uid); ?>" <?php if($server->uid == \App\Helpers\Helper::app_config('notification_sms_gateway')): ?> selected <?php endif; ?> > <?php echo e($server->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <option><?php echo e(__('locale.sending_servers.have_no_sending_server_to_add')); ?></option> <?php endif; ?> </select> <?php $__errorArgs = ['notification_sms_gateway']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <p><small class="text-danger"><?php echo e($message); ?></small></p> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> </div> <div class="col-12"> <div class="mb-1"> <label for="notification_sender_id" class="form-label required"><?php echo e(__('locale.settings.notification_sender_id')); ?></label> <input type="text" id="notification_sender_id" name="notification_sender_id" required class="form-control" value="<?php echo e(\App\Helpers\Helper::app_config('notification_sender_id')); ?>"> <?php $__errorArgs = ['notification_sender_id']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <p><small class="text-danger"><?php echo e($message); ?></small></p> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> </div> <div class="col-12"> <div class="mb-1"> <label for="notification_phone" class="form-label required"><?php echo e(__('locale.settings.notification_phone')); ?></label> <input type="text" id="notification_phone" name="notification_phone" required class="form-control" value="<?php echo e(\App\Helpers\Helper::app_config('notification_phone')); ?>"> <?php $__errorArgs = ['notification_phone']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <p><small class="text-danger"><?php echo e($message); ?></small></p> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> </div> <div class="col-12"> <div class="mb-1"> <label for="notification_from_name" class="form-label required"><?php echo e(__('locale.settings.notification_from_name')); ?></label> <input type="text" id="notification_from_name" name="notification_from_name" required class="form-control" value="<?php echo e(\App\Helpers\Helper::app_config('notification_from_name')); ?>"> <?php $__errorArgs = ['notification_from_name']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <p><small class="text-danger"><?php echo e($message); ?></small></p> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> </div> <div class="col-12"> <div class="mb-1"> <label for="notification_email" class="form-label required"><?php echo e(__('locale.settings.notification_email')); ?></label> <input type="text" id="notification_email" name="notification_email" required class="form-control" value="<?php echo e(\App\Helpers\Helper::app_config('notification_email')); ?>"> <?php $__errorArgs = ['notification_email']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <p><small class="text-danger"><?php echo e($message); ?></small></p> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> </div> <div class="col-12"> <div class="mb-1"> <div class="form-check me-3 me-lg-5 mt-1"> <input type="checkbox" value="true" class="form-check-input" name="sender_id_notification_email" <?php echo e(\App\Helpers\Helper::app_config('sender_id_notification_email') == true ? 'checked': null); ?>> <label class="form-label"><?php echo e(__('locale.settings.sender_id_notification_email')); ?></label> </div> </div> </div> <div class="col-12"> <div class="mb-1"> <div class="form-check me-3 me-lg-5 mt-1"> <input type="checkbox" value="true" class="form-check-input" name="user_registration_notification_email" <?php echo e(\App\Helpers\Helper::app_config('user_registration_notification_email') == true ? 'checked': null); ?>> <label class="form-label"><?php echo e(__('locale.settings.user_registration_notification_email')); ?></label> </div> </div> </div> <div class="col-12"> <div class="mb-1"> <div class="form-check me-3 me-lg-5 mt-1"> <input type="checkbox" value="true" class="form-check-input" name="subscription_notification_email" <?php echo e(\App\Helpers\Helper::app_config('subscription_notification_email') == true ? 'checked': null); ?>> <label class="form-label"><?php echo e(__('locale.settings.subscription_notification_email')); ?></label> </div> </div> </div> <div class="col-12"> <div class="mb-1"> <div class="form-check me-3 me-lg-5 mt-1"> <input type="checkbox" class="form-check-input" value="true" name="keyword_notification_email" <?php echo e(\App\Helpers\Helper::app_config('keyword_notification_email') == true ? 'checked': null); ?>> <label class="form-label"><?php echo e(__('locale.settings.keyword_notification_email')); ?></label> </div> </div> </div> <div class="col-12"> <div class="mb-1"> <div class="form-check me-3 me-lg-5 mt-1"> <input type="checkbox" class="form-check-input" value="true" name="phone_number_notification_email" <?php echo e(\App\Helpers\Helper::app_config('phone_number_notification_email') == true ? 'checked': null); ?>> <label class="form-label"><?php echo e(__('locale.settings.phone_number_notification_email')); ?></label> </div> </div> </div> <div class="col-12"> <div class="mb-1"> <div class="form-check me-3 me-lg-5 mt-1"> <input type="checkbox" class="form-check-input" value="true" name="login_notification_email" <?php echo e(\App\Helpers\Helper::app_config('login_notification_email') == true ? 'checked': null); ?>> <label class="form-label"><?php echo e(__('locale.settings.login_notification_email')); ?></label> </div> </div> </div> <div class="col-12 mt-2"> <button type="submit" class="btn btn-primary mr-1 mb-1"> <i data-feather="save"></i> <?php echo e(__('locale.buttons.save')); ?> </button> </div> </form> </div> </div> <?php /**PATH /home/bouloter/sms/resources/views/admin/settings/AllSettings/_notifications.blade.php ENDPATH**/ ?>