diff --git a/app/Http/Controllers/BookingController.php b/app/Http/Controllers/BookingController.php index 4ffb1434..49aee280 100644 --- a/app/Http/Controllers/BookingController.php +++ b/app/Http/Controllers/BookingController.php @@ -453,7 +453,8 @@ class BookingController extends Controller if ($amount >= 10000 && ($term == 'x2_cash' || $term == 'x2_cheque' || $term == 'x2_ba')) { $svcharge = 0; } else { - $svcharge = 20.00; + //$svcharge = 20.00; + $svcharge = 0; // UPDATE ON : 15-8-2018 from PM } $subtotal = round(($amount + $svcharge) / $rate, 2); @@ -780,7 +781,8 @@ class BookingController extends Controller if ($amount >= 10000 && ($term == 'x2_cash' || $term == 'x2_cheque' || $term == 'x2_ba')) { $svcharge = 0; } else { - $svcharge = 20.00; + //$svcharge = 20.00; + $svcharge = 0; // UPDATE ON : 15-8-2018 from PM } $subtotal = round(($amount + $svcharge) / $rate,2); diff --git a/caddy/Caddyfile b/caddy/Caddyfile index eaf1b056..e4f1b0d1 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -1,5 +1,4 @@ https://exchange-staging.izyim.com { - proxy /phpmyadmin 127.0.0.1:8090 root /var/www/public fastcgi / 127.0.0.1:9000 php { diff --git a/database/migrations/2018_08_15_154652_remove_foreight_from_setting_active_banks_table.php b/database/migrations/2018_08_15_154652_remove_foreight_from_setting_active_banks_table.php new file mode 100644 index 00000000..d6ffe132 --- /dev/null +++ b/database/migrations/2018_08_15_154652_remove_foreight_from_setting_active_banks_table.php @@ -0,0 +1,32 @@ +dropForeign('setting_active_banks_beneficiary_id_foreign'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('setting_active_banks', function (Blueprint $table) { + // + }); + } +} diff --git a/resources/assets/js/pages/settings/admin-bank-setting.vue b/resources/assets/js/pages/settings/admin-bank-setting.vue index 7666ba77..c1e82cda 100644 --- a/resources/assets/js/pages/settings/admin-bank-setting.vue +++ b/resources/assets/js/pages/settings/admin-bank-setting.vue @@ -3,8 +3,7 @@

Bank Setting


- Active CIEF bank account for today : - X1 : + Active Bank Account for X1: +
- X2 : + Active Bank Account for X2 : - Active CIEF China Beneficiary Account for Today : + Active China Beneficiary Account: +
Update @@ -74,7 +75,7 @@ export default { this.options_CIEF = malaysiaBankData.map(function(item){ return { value : item.id, - label : item.acc_no, + label : item.company_name + " - " + item.acc_no, }; }); }) @@ -96,7 +97,7 @@ export default { this.options_china_bank = chinaBankData.map(function(item){ return { value : item.id, - label : item.acc_no, + label : item.company_name + " - " + item.acc_no, }; }); this.options_china_bank.unshift({ diff --git a/resources/assets/js/pages/settings/admin-china-bank.vue b/resources/assets/js/pages/settings/admin-china-bank.vue index 9509fff1..1c960e49 100644 --- a/resources/assets/js/pages/settings/admin-china-bank.vue +++ b/resources/assets/js/pages/settings/admin-china-bank.vue @@ -23,41 +23,38 @@ - + - + - + - + - + - + - +
Cancel - OK + OK
- - * Please key in the data in Chinese -
Data Added Successfully

@@ -70,35 +67,35 @@ - + - + - + - + - + - + - +
Cancel - Submit + Submit
* Please key in the data in Chinese diff --git a/resources/assets/js/pages/settings/admin-malaysia-bank.vue b/resources/assets/js/pages/settings/admin-malaysia-bank.vue index ebf2f3ad..adf91f02 100644 --- a/resources/assets/js/pages/settings/admin-malaysia-bank.vue +++ b/resources/assets/js/pages/settings/admin-malaysia-bank.vue @@ -23,41 +23,38 @@ - + - + - + - + - + - + - +
Cancel - OK + OK
- - * Please key in the data in Chinese -
Data Added Successfully

@@ -70,41 +67,38 @@ - + - + - + - + - + - + - +
Cancel - Submit + Submit
- - * Please key in the data in Chinese -
Data Updated Successfully