Price Before Discount unrequired

This commit is contained in:
iBNu Maksum 2024-10-17 09:54:06 +07:00
parent 0cf5483353
commit de49a9992f
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
7 changed files with 35 additions and 8 deletions

View File

@ -47,7 +47,8 @@ if (!file_exists($root_path . 'config.php')) {
}
if (!file_exists($root_path . File::pathFixer('system/orm.php'))) {
die($root_path . "orm.php file not found");
echo $root_path . "orm.php file not found";
die();
}
$DEVICE_PATH = $root_path . File::pathFixer('system/devices');
@ -59,7 +60,8 @@ $PAYMENTGATEWAY_PATH = $root_path . File::pathFixer('system/paymentgateway');
$UI_PATH = 'ui';
if (!file_exists($UPLOAD_PATH . File::pathFixer('/notifications.default.json'))) {
die($UPLOAD_PATH . File::pathFixer("/notifications.default.json file not found"));
echo $UPLOAD_PATH . File::pathFixer("/notifications.default.json file not found");
die();
}
require_once $root_path . 'config.php';

View File

@ -434,5 +434,6 @@ function show_radius_result($array, $code = 200)
header("HTTP/1.1 204 No Content");
die();
}
die(json_encode($array));
echo json_encode($array);
die();
}

View File

@ -805,5 +805,29 @@
"For_Registration_and_Update_Phone_Number": "For Registration and Update Phone Number",
"Voucher_Only": "Voucher Only",
"No_Registration": "No Registration",
"Allow_Registration": "Allow Registration"
"Allow_Registration": "Allow Registration",
"Prepaid": "Prepaid",
"Postpaid": "Postpaid",
"Not_Active": "Not Active",
"New_Service_Package": "New Service Package",
"Limit": "Limit",
"Create_expired_Internet_Package": "Create expired Internet Package",
"When_customer_expired__you_can_move_it_to_Expired_Internet_Package": "When customer expired, you can move it to Expired Internet Package",
"Disable": "Disable",
"Create_expired_Internet_Plan": "Create expired Internet Plan",
"When_customer_expired__you_can_move_it_to_Expired_Internet_Plan": "When customer expired, you can move it to Expired Internet Plan",
"Payment_Method": "Payment Method",
"Created_on": "Created on",
"Expires_on": "Expires on",
"Edit_Service_Package": "Edit Service Package",
"Package_Type": "Package Type",
"Package_Price": "Package Price",
"Price_Before_Discount": "Price Before Discount",
"For_Discount_Rate__this_is_price_before_get_discount__must_be_more_expensive_with_real_price": "For Discount Rate, this is price before get discount, must be more expensive with real price",
"Package_Validity": "Package Validity",
"Expired_Internet_Package": "Expired Internet Package",
"Default___Remove_Customer": "Default - Remove Customer",
"When_Expired__customer_will_be_move_to_selected_internet_package": "When Expired, customer will be move to selected internet package",
"on_login___on_up": "on-login \/ on-up",
"on_logout___on_down": "on-logout \/ on-down"
}

View File

@ -174,7 +174,7 @@
<div class="col-md-9">
<div class="input-group">
<span class="input-group-addon">{$_c['currency_code']}</span>
<input type="number" class="form-control" name="price_old" required value="{$d['price_old']}">
<input type="number" class="form-control" name="price_old" value="{$d['price_old']}">
</div>
<p class="help-block">{Lang::T('For Discount Rate, this is price before get discount, must be more expensive with real price')}</p>
</div>

View File

@ -114,7 +114,7 @@
<div class="col-md-9">
<div class="input-group">
<span class="input-group-addon">{$_c['currency_code']}</span>
<input type="number" class="form-control" name="price_old" required value="{$d['price_old']}">
<input type="number" class="form-control" name="price_old" value="{$d['price_old']}">
</div>
<p class="help-block">{Lang::T('For Discount Rate, this is price before get discount, must be more expensive with real price')}</p>
</div>

View File

@ -114,7 +114,7 @@
<div class="col-md-9">
<div class="input-group">
<span class="input-group-addon">{$_c['currency_code']}</span>
<input type="number" class="form-control" name="price_old" required value="{$d['price_old']}">
<input type="number" class="form-control" name="price_old" value="{$d['price_old']}">
</div>
<p class="help-block">{Lang::T('For Discount Rate, this is price before get discount, must be more expensive with real price')}</p>
</div>

View File

@ -1,3 +1,3 @@
{
"version": "2024.10.15"
"version": "2024.10.17"
}