File: /home/xedaptot/be.naniguide.com/storage/framework/views/b644d48e05c7cfbc0452dd51e2aebb1e.php
<?php echo $__env->make('helpers.form_control', [
'type' => 'select',
'class' => '',
'name' => 'options[sending_limit]',
'label' => trans('messages.sending_servers.speed_limit'),
'value' => $server->getOption('sending_limit'),
'help_class' => 'sending_server',
'rules' => [],
'options' => $server->getSendingLimitSelectOptions(),
], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<input type="hidden" name="quota_value" value="<?php echo e($quotaValue, false); ?>" />
<input type="hidden" name="quota_base" value="<?php echo e($quotaBase, false); ?>" />
<input type="hidden" name="quota_unit" value="<?php echo e($quotaUnit, false); ?>" />
<script>
var SendingLimit = {
sendingLimitPopup: null,
getBox: function() {
return $('.sending-limit-box');
},
getSendingLimitPopup: function() {
if (this.sendingLimitPopup == null) {
this.sendingLimitPopup = new Popup({
url: '<?php echo e(action('SendingServerController@sendingLimit', ['uid' => ($server->uid ? $server->uid : 0)]), false); ?>'
});
}
return this.sendingLimitPopup;
}
}
$(function() {
});
$(function() {
$('[name="options[sending_limit]"]').on('change', function() {
var val = $(this).val();
if (val == 'custom') {
SendingLimit.getSendingLimitPopup().load();
}
});
});
</script><?php /**PATH /home/xedaptot/be.naniguide.com/resources/views/sending_servers/form/_sending_limit.blade.php ENDPATH**/ ?>