remove currencies
This commit is contained in:
parent
bbefa2455c
commit
991a930f8d
|
|
@ -79,9 +79,9 @@ class RequestController extends Controller
|
|||
case 200:
|
||||
// check user balance
|
||||
$fee = $input['totalPrice'];
|
||||
if($input['currency'] == 'USD') {
|
||||
$fee = $fee * settings('local_price') / settings('int_price'); // fee - converted to TMT price
|
||||
}
|
||||
// if($input['currency'] == 'USD') {
|
||||
// $fee = $fee * settings('local_price') / settings('int_price'); // fee - converted to TMT price
|
||||
// }
|
||||
if($loginResponse['user']['user_balance'] - $fee < 0) {
|
||||
return response()->json([
|
||||
'status' => 300, // 300
|
||||
|
|
|
|||
23456
public/css/antd.css
23456
public/css/antd.css
File diff suppressed because one or more lines are too long
188828
public/css/app.css
188828
public/css/app.css
File diff suppressed because one or more lines are too long
156100
public/js/app.js
156100
public/js/app.js
File diff suppressed because one or more lines are too long
|
|
@ -984,13 +984,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|||
},
|
||||
computed: {
|
||||
currency: function currency() {
|
||||
return this.countryCode === "993" ? "TMT" : "USD";
|
||||
return "TMT";
|
||||
},
|
||||
price: function price() {
|
||||
var _this$$page$props = this.$page.props,
|
||||
local_price = _this$$page$props.local_price,
|
||||
int_price = _this$$page$props.int_price;
|
||||
return this.countryCode === "993" ? local_price : int_price;
|
||||
var local_price = this.$page.props.local_price;
|
||||
return local_price;
|
||||
},
|
||||
totalPrice: function totalPrice() {
|
||||
return this.selectedItems.length * this.price;
|
||||
|
|
|
|||
|
|
@ -984,13 +984,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|||
},
|
||||
computed: {
|
||||
currency: function currency() {
|
||||
return this.countryCode === "993" ? "TMT" : "USD";
|
||||
return "TMT";
|
||||
},
|
||||
price: function price() {
|
||||
var _this$$page$props = this.$page.props,
|
||||
local_price = _this$$page$props.local_price,
|
||||
int_price = _this$$page$props.int_price;
|
||||
return this.countryCode === "993" ? local_price : int_price;
|
||||
var local_price = this.$page.props.local_price;
|
||||
return local_price;
|
||||
},
|
||||
totalPrice: function totalPrice() {
|
||||
return this.selectedItems.length * this.price;
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ render._withStripped = true
|
|||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = JSON.parse('[{"key":"id","dataIndex":"id","title":"№","width":50,"scopedSlots":{"customRender":"id"}},{"dataIndex":"name","key":"name","title":"Name"},{"dataIndex":"phone","key":"phone","title":"Phone","width":220},{"dataIndex":"email","key":"email","title":"Email","width":220},{"dataIndex":"created_at","key":"created_at","title":"Created date","width":220},{"key":"actions","scopedSlots":{"customRender":"actions"},"width":170}]');
|
||||
module.exports = JSON.parse('[{"key":"id","dataIndex":"id","title":"№","width":50,"scopedSlots":{"customRender":"id"}},{"dataIndex":"name","key":"name","title":"Name"},{"dataIndex":"phone","key":"phone","title":"Phone","width":220},{"dataIndex":"email","key":"email","title":"Email","width":220},{"dataIndex":"org_type","key":"org_type","title":"Organization type","width":220},{"dataIndex":"created_at","key":"created_at","title":"Created date","width":220},{"key":"actions","scopedSlots":{"customRender":"actions"},"width":170}]');
|
||||
|
||||
/***/ })
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"/js/app.js": "/js/app.js?id=9b3e2b4a91df67c5c81a",
|
||||
"/css/app.css": "/css/app.css?id=325e37fae0fdf8bf428a",
|
||||
"/css/antd.css": "/css/antd.css?id=f9f05916bb7adbb86b7d"
|
||||
"/js/app.js": "/js/app.js",
|
||||
"/css/app.css": "/css/app.css",
|
||||
"/css/antd.css": "/css/antd.css"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -197,12 +197,12 @@ export default {
|
|||
|
||||
computed: {
|
||||
currency() {
|
||||
return this.countryCode === "993" ? "TMT" : "USD";
|
||||
return "TMT";
|
||||
},
|
||||
|
||||
price() {
|
||||
const { local_price, int_price } = this.$page.props;
|
||||
return this.countryCode === "993" ? local_price : int_price;
|
||||
const { local_price } = this.$page.props;
|
||||
return local_price;
|
||||
},
|
||||
|
||||
totalPrice() {
|
||||
|
|
|
|||
|
|
@ -25,6 +25,12 @@
|
|||
"title": "Email",
|
||||
"width": 220
|
||||
},
|
||||
{
|
||||
"dataIndex": "org_type",
|
||||
"key": "org_type",
|
||||
"title": "Organization type",
|
||||
"width": 220
|
||||
},
|
||||
{
|
||||
"dataIndex": "created_at",
|
||||
"key": "created_at",
|
||||
|
|
|
|||
Loading…
Reference in New Issue