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 1f7696c2..225016f2 100644 --- a/resources/assets/js/pages/settings/admin-china-bank.vue +++ b/resources/assets/js/pages/settings/admin-china-bank.vue @@ -70,38 +70,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 4fa1f739..f253b883 100644 --- a/resources/assets/js/pages/settings/admin-malaysia-bank.vue +++ b/resources/assets/js/pages/settings/admin-malaysia-bank.vue @@ -23,38 +23,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 @@ -70,38 +70,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 @@ -297,8 +297,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 807f0e16..be054b25 100644 --- a/resources/assets/js/pages/settings/admin-supplier.vue +++ b/resources/assets/js/pages/settings/admin-supplier.vue @@ -19,6 +19,7 @@ Add New Supplier +<<<<<<< HEAD @@ -40,11 +41,34 @@ {{ errors.first('acc_no') }}
+======= + + + + + + + + + + + + + + + + + + + + + +>>>>>>> 390c6064a53c7b4d05ea890690cdf53e35ed9eba
Cancel - OK + OK
@@ -80,7 +104,7 @@
Cancel - OK + OK