diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 304f45c1..e4f1b0d1 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -1,9 +1,14 @@ https://exchange-staging.izyim.com { - root /app/public + root /var/www/public + fastcgi / 127.0.0.1:9000 php { index index.php } + header / { + Cache-Control no-cache + } + # To handle .html extensions with laravel change ext to # ext / .html @@ -13,10 +18,6 @@ https://exchange-staging.izyim.com { to /index.php?{query} } - header / { - Cache-Control no-cache - } - gzip # browse log stdout diff --git a/caddy/Dockerfile b/caddy/Dockerfile index f2c15948..bff61e5d 100644 --- a/caddy/Dockerfile +++ b/caddy/Dockerfile @@ -10,9 +10,9 @@ RUN curl --silent --show-error --fail --location \ && /usr/bin/caddy -version \ && docker-php-ext-install mbstring pdo pdo_mysql -ADD . /var/www COPY Caddyfile /etc/Caddyfile WORKDIR /var/www +RUN ln -sf /var/www/storage/app/public /var/www/public CMD ["/usr/bin/caddy", "--conf", "/etc/Caddyfile", "--log", "stdout"] \ No newline at end of file diff --git a/resources/assets/js/pages/settings/admin-china-bank.vue b/resources/assets/js/pages/settings/admin-china-bank.vue index db802df3..9509fff1 100644 --- a/resources/assets/js/pages/settings/admin-china-bank.vue +++ b/resources/assets/js/pages/settings/admin-china-bank.vue @@ -22,38 +22,38 @@ - + - {{ errors.first('company_name') }}
+
- + - {{ errors.first('bank_name') }}
+
- + - {{ errors.first('acc_no') }}
+
- + - {{ errors.first('bank_address') }}
+
- + - {{ errors.first('swift') }}
+
- + - {{ errors.first('cnap') }}
+
- + - {{ errors.first('bank_branch') }}
+
Cancel - OK + OK
* Please key in the data in Chinese @@ -69,38 +69,36 @@ - - - {{ errors.first('company_name') }}
+ + - + - {{ errors.first('bank_name') }}
- + - {{ errors.first('acc_no') }}
+
- + - {{ errors.first('bank_address') }}
+
- + - {{ errors.first('swift') }}
+
- + - {{ errors.first('cnap') }}
+
- + - {{ errors.first('bank_branch') }}
+
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 b8cffbd4..7cd0186f 100644 --- a/resources/assets/js/pages/settings/admin-malaysia-bank.vue +++ b/resources/assets/js/pages/settings/admin-malaysia-bank.vue @@ -22,38 +22,38 @@ - + - {{ errors.first('company_name') }}
+
- + - {{ errors.first('bank_name') }}
+
- + - {{ errors.first('acc_no') }}
+
- + - {{ errors.first('bank_address') }}
+
- + - {{ errors.first('swift') }}
+
- + - {{ errors.first('cnap') }}
+
- + - {{ errors.first('bank_branch') }}
+
Cancel - OK + OK
* Please key in the data in Chinese @@ -69,38 +69,38 @@ - + - {{ errors.first('company_name') }}
+
- + - {{ errors.first('bank_name') }}
+
- + - {{ errors.first('acc_no') }}
+
- + - {{ errors.first('bank_address') }}
+
- + - {{ errors.first('swift') }}
+
- + - {{ errors.first('cnap') }}
+
- + - {{ errors.first('bank_branch') }}
+
Cancel - Submit + Submit
* Please key in the data in Chinese @@ -260,8 +260,6 @@ PopOutAddMalaysiaBank : function(){ this.AddDatadialogVisible = true; this.ClearMalaysiaBankForm(); - this.$validator.validateAll(); - console.log(this.errors.count()); }, PopOutEditMalaysiaBank : function(tableDataRow){ this.EditDatadialogVisible = true; diff --git a/resources/assets/js/pages/settings/admin-supplier.vue b/resources/assets/js/pages/settings/admin-supplier.vue index 00ce985a..eb151563 100644 --- a/resources/assets/js/pages/settings/admin-supplier.vue +++ b/resources/assets/js/pages/settings/admin-supplier.vue @@ -20,30 +20,30 @@ - + - {{ errors.first('company_name') }}
+
- + - {{ errors.first('supplier_reg_no') }}
+
- + - {{ errors.first('gst_no') }}
+
- + - {{ errors.first('bank_name') }}
+
- + - {{ errors.first('acc_no') }}
+
Cancel - OK + OK
@@ -56,30 +56,30 @@ - + - {{ errors.first('company_name') }}
+
- + - {{ errors.first('supplier_reg_no') }}
+
- + - {{ errors.first('gst_no') }}
+
- + - {{ errors.first('bank_name') }}
+
- + - {{ errors.first('acc_no') }}
+
Cancel - OK + OK
diff --git a/resources/assets/js/pages/settings/admin-tax-setting.vue b/resources/assets/js/pages/settings/admin-tax-setting.vue index b26c8636..4809493f 100644 --- a/resources/assets/js/pages/settings/admin-tax-setting.vue +++ b/resources/assets/js/pages/settings/admin-tax-setting.vue @@ -7,7 +7,7 @@ Tax : - % +
(Example : 1%, input 1.01 and 0% input 1.0)
Update