[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: a5e29de2d7718c8ef15c7ebab9b93af4.php
<form method="post" class="ajax-screen-submit" autocomplete="off" action="<?php echo e(route('products.store')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="row px-3"> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Name')); ?></label> <input type="text" class="form-control" name="name" value="<?php echo e(old('name')); ?>" required> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Type')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e(old('type', 'product')); ?>" name="type" required> <option value="product"><?php echo e(_lang('Product')); ?></option> <option value="service"><?php echo e(_lang('Service')); ?></option> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Product Unit')); ?></label> <select class="form-control select2-ajax" data-selected="<?php echo e(old('product_unit_id')); ?>" name="product_unit_id" data-value="id" data-display="unit" data-table="product_units" data-title="<?php echo e(_lang('New Product Unit')); ?>" data-href="<?php echo e(route('product_units.create')); ?>" data-where="3"> <option value=""><?php echo e(_lang('Select One')); ?></option> </select> </div> </div> <?php if(isset($_GET) && $_GET['type'] == 'sell'): ?> <input type="hidden" name="allow_for_selling" value="1"> <input type="hidden" name="allow_for_purchasing" value="0"> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Selling Price').' ('.currency_symbol(request()->activeBusiness->currency).')'); ?> <span class="required"> *</span></label> <input type="text" class="form-control float-field no-msg" name="selling_price" value="<?php echo e(old('selling_price')); ?>"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Income Category')); ?> <span class="required"> *</span></label> <select class="form-control select2-ajax no-msg" data-selected="<?php echo e(old('income_category_id')); ?>" name="income_category_id" data-value="id" data-display="name" data-table="transaction_categories" data-title="<?php echo e(_lang('New Category')); ?>" data-href="<?php echo e(route('transaction_categories.create')); ?>?type=income" data-where="4"> <option value=""><?php echo e(_lang('Select One')); ?></option> </select> </div> </div> <?php else: ?> <input type="hidden" name="allow_for_purchasing" value="1"> <input type="hidden" name="allow_for_selling" value="0"> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Purchase Cost').' ('.currency_symbol(request()->activeBusiness->currency).')'); ?> <span class="required"> *</span></label> <input type="text" class="form-control float-field no-msg" name="purchase_cost" value="<?php echo e(old('purchase_cost')); ?>"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Expense Category')); ?> <span class="required"> *</span></label> <select class="form-control select2-ajax no-msg" data-selected="<?php echo e(old('expense_category_id')); ?>" name="expense_category_id" data-value="id" data-display="name" data-table="transaction_categories" data-title="<?php echo e(_lang('New Category')); ?>" data-href="<?php echo e(route('transaction_categories.create')); ?>?type=expense" data-where="5"> <option value=""><?php echo e(_lang('Select One')); ?></option> </select> </div> </div> <?php endif; ?> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Image')); ?></label> <input type="file" class="form-control dropify" name="image"> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Descriptions')); ?></label> <textarea class="form-control" name="descriptions"><?php echo e(old('descriptions')); ?></textarea> </div> </div> <div class="col-md-4"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Status')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e(old('status', 1)); ?>" name="status" required> <option value="1"><?php echo e(_lang('Active')); ?></option> <option value="0"><?php echo e(_lang('Disabled')); ?></option> </select> </div> </div> <div class="col-md-4"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Stock Management')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e(old('stock_management', 0)); ?>" name="stock_management" required> <option value="1"><?php echo e(_lang('Yes')); ?></option> <option value="0"><?php echo e(_lang('No')); ?></option> </select> <small class="text-danger"><i class="fas fa-exclamation-circle mr-1"></i><?php echo e(_lang('Works for product only!')); ?></small> </div> </div> <div class="col-md-4"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Initial Stock')); ?></label> <input type="text" class="form-control" name="stock" value="<?php echo e(old('stock', 0)); ?>" required> <small class="text-danger"><i class="fas fa-exclamation-circle mr-1"></i><?php echo e(_lang('Works for product only!')); ?></small> </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-1"></i><?php echo e(_lang('Save Changes')); ?></button> </div> </div> </div> </form> <?php /**PATH /home/eliosofonline/acc.eliosof.com/resources/views/backend/user/product/modal/create.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.97 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