Remove .DS_Store from everywhere

This commit is contained in:
benguozakinci@gmail.com 2021-07-02 16:41:25 +03:00
parent 6e58f29854
commit 5148255dde
4 changed files with 7 additions and 8 deletions

Binary file not shown.

Binary file not shown.

View File

@ -41,16 +41,15 @@ const app = new Vue({
watch: {
'form.sale_price': function (newVal, oldVal) {
if (newVal != '' && newVal.search('^(?=.*?[0-9])[0-9.,]+$') == -1) {
if (newVal != '' && newVal.search('^(?=.*?[0-9])[0-9.,]+$') !== 0) {
this.form.sale_price = oldVal;
return;
}
if (newVal.search('^(?=.*?[0-9])[0-9.,]+$') == 0) {
for (let item of this.regex_condition) {
if (this.form.sale_price.includes(item)) {
this.splice_value = this.form.sale_price.replace(item, '');
this.form.sale_price = this.splice_value;
}
for (let item of this.regex_condition) {
if (this.form.sale_price.includes(item)) {
this.splice_value = this.form.sale_price.replace(item, '');
this.form.sale_price = this.splice_value;
}
}
},

View File

@ -10,7 +10,7 @@
<script type="text/javascript">
var document_items = {!! $document_items !!};
var document_default_currency = '{{ $currency_code }}';
var document_default_currency = {{ $currency_code }};
var document_currencies = {!! $currencies !!};
var document_taxes = {!! $taxes !!};
</script>