Skip to content

Commit

Permalink
Merge branch 'v4.6.x' of https://github.com/blair2004/NexoPOS-4x into…
Browse files Browse the repository at this point in the history
… v4.6.x
  • Loading branch information
Blair2004 committed Jan 14, 2022
2 parents c066ca3 + b132da6 commit 1b40daf
Show file tree
Hide file tree
Showing 16 changed files with 45 additions and 286,767 deletions.
281,979 changes: 3 additions & 281,976 deletions public/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/auth.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/bootstrap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/cashier.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/dashboard.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/lang-loader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

197 changes: 2 additions & 195 deletions public/js/manifest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/js/popups.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/pos-init.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/pos.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/setup.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/update.min.js

Large diffs are not rendered by default.

4,567 changes: 3 additions & 4,564 deletions public/js/vendor.js

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"/js/bootstrap.js": "/js/bootstrap.js",
"/js/lang-loader.js": "/js/lang-loader.js",
"/js/app.js": "/js/app.js",
"/js/dashboard.js": "/js/dashboard.js",
"/js/cashier.js": "/js/cashier.js",
"/js/update.js": "/js/update.js",
"/js/pos-init.js": "/js/pos-init.js",
"/js/pos.js": "/js/pos.js",
"/js/auth.js": "/js/auth.js",
"/js/setup.js": "/js/setup.js",
"/js/popups.js": "/js/popups.js",
"/js/manifest.js": "/js/manifest.js",
"/css/app.css": "/css/app.css",
"/js/vendor.js": "/js/vendor.js"
"/js/bootstrap.min.js": "/js/bootstrap.min.js?id=847e44134c0270737773",
"/js/lang-loader.min.js": "/js/lang-loader.min.js?id=01a3593f6f646f6cef13",
"/js/app.min.js": "/js/app.min.js?id=4ebd310e9b90c7d41a4d",
"/js/dashboard.min.js": "/js/dashboard.min.js?id=9d2ae660f8e42f8d3dc5",
"/js/cashier.min.js": "/js/cashier.min.js?id=1e98ee3378945f43291b",
"/js/update.min.js": "/js/update.min.js?id=d50b50494c0791c3b269",
"/js/pos-init.min.js": "/js/pos-init.min.js?id=18ef203c92a405643ea4",
"/js/pos.min.js": "/js/pos.min.js?id=5382acc794241fa67588",
"/js/auth.min.js": "/js/auth.min.js?id=5d7976ff407e10af943c",
"/js/setup.min.js": "/js/setup.min.js?id=b46472ce111cff738d64",
"/js/popups.min.js": "/js/popups.min.js?id=1af01505bd89047616a7",
"/js/manifest.js": "/js/manifest.js?id=50c02444dfd29510e1f8",
"/css/app.css": "/css/app.css?id=979e97f914d54ef1c14b",
"/js/vendor.js": "/js/vendor.js?id=3582ff3fbb8a7a186add"
}
19 changes: 12 additions & 7 deletions resources/ts/components/ns-numpad.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,20 @@ export default {
}
},
mounted() {
// ...
if( this.floating && this.value > 0 ) {
this.screenValue = parseFloat( this.value / this.number );
} else {
this.screenValue = 0;
}
},
watch: {
value() {
console.log( this.value );
if( this.floating && this.value > 0 ) {
this.screenValue = parseFloat( this.value / this.number );
} else {
this.screenValue = 0;
value() {
if ( this.value.toString().length > 0 ) {
if ( this.floating ) {
this.screenValue = Math.round( this.value * this.number ).toString();
} else {
this.screenValue = this.value;
}
}
}
},
Expand Down

0 comments on commit 1b40daf

Please sign in to comment.