- Gestore Ordini GAS (aggiornato)
- Possibilità di modificare un record, click sulla matita rossa. - corretto altre sistemazioni sui valori di minimo e massimo quantità.
@@ -1,12 +1,12 @@
|
|||||||
VITE_APP_ID="18"
|
VITE_APP_ID="17"
|
||||||
VITE_APP_URL="https://localhost"
|
VITE_APP_URL="https://localhost"
|
||||||
VITE_MONGODB_HOST="https://localhost:3000"
|
VITE_MONGODB_HOST="https://localhost:3000"
|
||||||
VITE_LOGO_REG='gruppomacro-logo-full.png'
|
VITE_LOGO_REG='riso-logo-full.png'
|
||||||
VITE_PUBLICKEY_PUSH='BDncvMiUZmjaCG2Kr1V9N0_33hOG-AuNSbHSvL24y2dzBiUjAxKm02emx5SeJvz2IGmtRf6YqCgopeQwCwUmZw8'
|
VITE_PUBLICKEY_PUSH='BDncvMiUZmjaCG2Kr1V9N0_33hOG-AuNSbHSvL24y2dzBiUjAxKm02emx5SeJvz2IGmtRf6YqCgopeQwCwUmZw8'
|
||||||
VITE_DEBUG="1"
|
VITE_DEBUG="1"
|
||||||
VITE_VUE_APP_ISTEST=0
|
VITE_VUE_APP_ISTEST=0
|
||||||
VITE_VUE_APP_INLOCALE=1
|
VITE_VUE_APP_INLOCALE=1
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="myprojplanet_vite"
|
||||||
DIRECTORY_SERVER="freeplanet_serverside"
|
DIRECTORY_SERVER="freeplanet_serverside"
|
||||||
SERVERDIR_WEBSITE=""
|
SERVERDIR_WEBSITE=""
|
||||||
SERVERPW_WEBSITE=""
|
SERVERPW_WEBSITE=""
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
VITE_APP_ID="18"
|
VITE_APP_ID="17"
|
||||||
VITE_APP_URL="https://test.gruppomacro.app"
|
VITE_APP_URL="https://test.piuchebuono.app"
|
||||||
VITE_MONGODB_HOST="https://testapi.gruppomacro.app"
|
VITE_MONGODB_HOST="https://testapi.piuchebuono.app"
|
||||||
VITE_LOGO_REG="gruppomacro-logo-full.png"
|
VITE_LOGO_REG="piuchebuono-logo-full.png"
|
||||||
VITE_PUBLICKEY_PUSH="BJgo8XR_upbnbMLWgCAUELo6DK7dRXffYAnFOxbaMMz5favBgcQBKT-eISqouO-jRad4Sw8l5nd2wCF6KorGiTc"
|
VITE_PUBLICKEY_PUSH="BJgo8XR_upbnbMLWgCAUELo6DK7dRXffYAnFOxbaMMz5favBgcQBKT-eISqouO-jRad4Sw8l5nd2wCF6KorGiTc"
|
||||||
VITE_DEBUG="1"
|
VITE_DEBUG="1"
|
||||||
VITE_VUE_APP_ISTEST="1"
|
VITE_VUE_APP_ISTEST="1"
|
||||||
DIRECTORY_LOCAL="myprojplanet_vite"
|
DIRECTORY_LOCAL="myprojplanet_vite"
|
||||||
DIRECTORY_SERVER="/var/www/nodejs_test.piuchebuono_server"
|
DIRECTORY_SERVER="/var/www/nodejs_test.piuchebuono_server"
|
||||||
SERVERDIR_WEBSITE="/var/www/test.gruppomacro.app"
|
SERVERDIR_WEBSITE="/var/www/test.piuchebuono.app"
|
||||||
SERVERPW_WEBSITE="pwdadmin@1AOK"
|
SERVERPW_WEBSITE="pwdadmin@1AOK"
|
||||||
97
package.json
@@ -1,61 +1,62 @@
|
|||||||
{
|
{
|
||||||
"name": "gruppomacro",
|
"name": "piuchebuono",
|
||||||
"version": "1.2.71",
|
"version": "1.2.71",
|
||||||
"productName": "Gruppo Macro",
|
"description": "PiuCheBuono",
|
||||||
"description": "Il Gruppo Editoriale Macro, attivo dal 1987, è leader europeo nella pubblicazione di libri per il benessere e la consapevolezza. Con oltre 1.500 titoli, promuove una visione armonica del mondo, offrendo opere di autori internazionali e italiani come Gregg Braden, Bruce Lipton, Joe Dispenza, Louise Hay, Eckhart Tolle e molti altri. Scopri un'editoria che abbraccia il corpo, la mente, lo spirito e l'ecologia.",
|
"productName": "PiuCheBuono",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
"private": true,
|
"private": true,
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8089 APP_VERSION='1.2.71' quasar dev",
|
"dev": "PORT=8085 APP_VERSION='1.2.71' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.71' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.71' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.71' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.71' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "APP_VERSION='1.2.71' quasar build -m spa",
|
"buildspa": "quasar build -m spa",
|
||||||
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.71' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8085 APP_VERSION='1.2.71' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8089 APP_VERSION='1.2.71' quasar dev",
|
"spa": "NODE_ENV=development PORT=8085 APP_VERSION='1.2.71' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
"postinstall": "quasar prepare"
|
"postinstall": "quasar prepare"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cubejs-client/core": "^1.3.21",
|
"@cubejs-client/core": "^1.2.26",
|
||||||
"@quasar/extras": "^1.17.0",
|
"@quasar/extras": "^1.16.17",
|
||||||
"@quasar/quasar-ui-qcalendar": "^4.1.2",
|
"@quasar/quasar-ui-qcalendar": "^4.1.2",
|
||||||
"@types/jsbarcode": "^3.11.4",
|
"@types/jsbarcode": "^3.11.4",
|
||||||
"@types/leaflet": "^1.9.18",
|
"@types/leaflet": "^1.9.17",
|
||||||
"@vue/compat": "^3.5.16",
|
"@vue/compat": "^3.5.13",
|
||||||
"@vue/compiler-sfc": "^3.5.16",
|
"@vue/compiler-sfc": "^3.5.13",
|
||||||
"@vuelidate/core": "^2.0.3",
|
"@vuelidate/core": "^2.0.3",
|
||||||
"@vuelidate/validators": "^2.0.4",
|
"@vuelidate/validators": "^2.0.4",
|
||||||
"acorn": "^8.15.0",
|
"acorn": "^8.14.1",
|
||||||
"animate.css": "^4.1.1",
|
"animate.css": "^4.1.1",
|
||||||
"apexcharts": "^4.7.0",
|
|
||||||
"autoprefixer": "^10.4.21",
|
"autoprefixer": "^10.4.21",
|
||||||
"axios": "^1.9.0",
|
"axios": "^1.8.4",
|
||||||
"bcryptjs": "^3.0.2",
|
"bcryptjs": "^3.0.2",
|
||||||
"chart.js": "^4.4.9",
|
"chart.js": "^4.4.8",
|
||||||
"core-js": "^3.43.0",
|
"core-js": "^3.41.0",
|
||||||
"crypto-browserify": "^3.12.1",
|
"crypto-browserify": "^3.12.1",
|
||||||
"date-fns": "^4.1.0",
|
"date-fns": "^4.1.0",
|
||||||
"echarts": "5.6.0",
|
"echarts": "5.6.0",
|
||||||
"eslint-plugin-n": "^17.19.0",
|
"eslint-plugin-n": "^17.16.2",
|
||||||
"eslint-plugin-quasar": "^1.1.0",
|
"eslint-plugin-quasar": "^1.1.0",
|
||||||
"gsap": "^3.13.0",
|
"graphql": "^16.10.0",
|
||||||
|
"graphql-tag": "^2.12.6",
|
||||||
|
"gsap": "^3.12.7",
|
||||||
"html2pdf.js": "^0.10.3",
|
"html2pdf.js": "^0.10.3",
|
||||||
"jquery": "^3.7.1",
|
"jquery": "^3.7.1",
|
||||||
"js-cookie": "^3.0.5",
|
"js-cookie": "^3.0.5",
|
||||||
"jsbarcode": "^3.12.1",
|
"jsbarcode": "^3.11.6",
|
||||||
"leaflet": "^1.9.4",
|
"leaflet": "^1.9.4",
|
||||||
"leaflet-routing-machine": "^3.2.12",
|
"leaflet-routing-machine": "^3.2.12",
|
||||||
"leaflet.markercluster": "^1.5.3",
|
"leaflet.markercluster": "^1.5.3",
|
||||||
@@ -63,74 +64,74 @@
|
|||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"normalize.css": "^8.0.1",
|
"normalize.css": "^8.0.1",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
"pinia": "^3.0.3",
|
"pinia": "^3.0.1",
|
||||||
|
"qrcode-vue3": "^1.7.1",
|
||||||
"quasar": "^2.18.1",
|
"quasar": "^2.18.1",
|
||||||
"quasar-extras": "^2.0.9",
|
"quasar-extras": "^2.0.9",
|
||||||
"register-service-worker": "^1.7.2",
|
"register-service-worker": "^1.7.2",
|
||||||
"scrollreveal": "^4.0.9",
|
"scrollreveal": "^4.0.9",
|
||||||
"typescript-eslint": "^8.34.0",
|
"typescript-eslint": "^8.27.0",
|
||||||
"vee-validate": "^4.15.1",
|
"vee-validate": "^4.15.0",
|
||||||
"vue": "^3.5.16",
|
"vue": "^3.5.13",
|
||||||
"vue-class-component": "^8.0.0-rc.1",
|
"vue-class-component": "^8.0.0-rc.1",
|
||||||
"vue-country-code": "^1.1.3",
|
"vue-country-code": "^1.1.3",
|
||||||
"vue-echarts": "^7.0.3",
|
"vue-echarts": "^7.0.3",
|
||||||
"vue-i18n": "^11.1.5",
|
"vue-i18n": "^11.1.2",
|
||||||
"vue-idb": "^0.2.0",
|
"vue-idb": "^0.2.0",
|
||||||
|
"vue-image-zoomer": "^2.4.4",
|
||||||
"vue-property-decorator": "^10.0.0-rc.3",
|
"vue-property-decorator": "^10.0.0-rc.3",
|
||||||
"vue-router": "^4.5.1",
|
"vue-router": "^4.5.0",
|
||||||
"vue-scroll-reveal": "^2.1.0",
|
"vue-scroll-reveal": "^2.1.0",
|
||||||
"vue-social-sharing": "^4.0.0-alpha4",
|
"vue-social-sharing": "^4.0.0-alpha4",
|
||||||
"vue-svgicon": "^4.0.0-alpha.3",
|
"vue-svgicon": "^4.0.0-alpha.3",
|
||||||
"vue-timeago3": "^2.3.2",
|
"vue-timeago3": "^2.3.2",
|
||||||
"vue2-dragula": "^2.5.5",
|
"vue2-dragula": "^2.5.5",
|
||||||
"vue3-apexcharts": "^1.8.0",
|
"vue3-pdf-app": "^1.0.3",
|
||||||
"vue3-qr-reader": "^1.0.0",
|
"vue3-qr-reader": "^1.0.0",
|
||||||
"vuedraggable": "^4.1.0",
|
|
||||||
"vuex": "^4.1.0",
|
"vuex": "^4.1.0",
|
||||||
"vuex-router-sync": "^6.0.0-rc.1",
|
"vuex-router-sync": "^6.0.0-rc.1",
|
||||||
"workbox-core": "^7.3.0",
|
"workbox-core": "^7.3.0",
|
||||||
"workbox-precaching": "^7.3.0",
|
"workbox-precaching": "^7.3.0",
|
||||||
"workbox-routing": "^7.3.0",
|
"workbox-routing": "^7.3.0",
|
||||||
"workbox-strategies": "^7.3.0",
|
"workbox-strategies": "^7.3.0",
|
||||||
"workbox-window": "^7.3.0",
|
"workbox-window": "^7.3.0"
|
||||||
"xlsx": "^0.18.5"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "^9.28.0",
|
"@eslint/js": "^9.23.0",
|
||||||
"@intlify/unplugin-vue-i18n": "^6.0.8",
|
"@intlify/unplugin-vue-i18n": "^6.0.5",
|
||||||
"@quasar/app-vite": "^2.2.1",
|
"@quasar/app-vite": "^2.1.4",
|
||||||
"@types/google.maps": "^3.58.1",
|
"@types/google.maps": "^3.58.1",
|
||||||
"@types/jest": "^29.5.14",
|
"@types/jest": "^29.5.14",
|
||||||
"@types/js-cookie": "^3.0.6",
|
"@types/js-cookie": "^3.0.6",
|
||||||
"@types/node": "^24.0.1",
|
"@types/node": "^22.13.11",
|
||||||
"@types/nprogress": "^0.2.3",
|
"@types/nprogress": "^0.2.3",
|
||||||
"@types/vue-tel-input": "^2.1.7",
|
"@types/vue-tel-input": "^2.1.7",
|
||||||
"@types/vuelidate": "^0.7.22",
|
"@types/vuelidate": "^0.7.22",
|
||||||
"@vue/devtools": "^7.7.6",
|
"@vue/devtools": "^7.7.2",
|
||||||
"@vue/eslint-config-prettier": "^10.2.0",
|
"@vue/eslint-config-prettier": "^10.2.0",
|
||||||
"@vue/eslint-config-typescript": "^14.5.0",
|
"@vue/eslint-config-typescript": "^14.5.0",
|
||||||
"autoprefixer": "^10.4.21",
|
"autoprefixer": "^10.4.21",
|
||||||
"eslint": "9",
|
"eslint": "9",
|
||||||
"eslint-plugin-import": "^2.31.0",
|
"eslint-plugin-import": "^2.31.0",
|
||||||
"eslint-plugin-vue": "^10.2.0",
|
"eslint-plugin-vue": "^10.0.0",
|
||||||
"file-loader": "^6.2.0",
|
"file-loader": "^6.2.0",
|
||||||
"globals": "^16.2.0",
|
"globals": "^16.0.0",
|
||||||
"http-proxy-middleware": "^3.0.5",
|
"http-proxy-middleware": "^3.0.3",
|
||||||
"jest": "^30.0.0",
|
"jest": "^29.7.0",
|
||||||
"json-loader": "^0.5.7",
|
"json-loader": "^0.5.7",
|
||||||
"nodemon": "^3.1.10",
|
"nodemon": "^3.1.9",
|
||||||
"npm-check-updates": "^18.0.1",
|
"npm-check-updates": "^17.1.16",
|
||||||
"parcel": "^2.15.2",
|
"parcel": "^2.14.1",
|
||||||
"postcss": "^8.5.5",
|
"postcss": "^8.5.3",
|
||||||
"postcss-loader": "^8.1.1",
|
"postcss-loader": "^8.1.1",
|
||||||
"prettier": "3",
|
"prettier": "3",
|
||||||
"strip-ansi": "=7.1.0",
|
"strip-ansi": "=7.1.0",
|
||||||
"ts-jest": "^29.4.0",
|
"ts-jest": "^29.2.6",
|
||||||
"typescript": "5.8.3",
|
"typescript": "5.7.3",
|
||||||
"vite-plugin-checker": "^0.9.3",
|
"vite-plugin-checker": "^0.9.1",
|
||||||
"vue-cli-plugin-element-ui": "^1.1.4",
|
"vue-cli-plugin-element-ui": "^1.1.4",
|
||||||
"vue-eslint-parser": "^10.1.3",
|
"vue-eslint-parser": "^10.1.1",
|
||||||
"vue-tsc": "^2.2.10",
|
"vue-tsc": "^2.2.8",
|
||||||
"vueify": "^9.4.1",
|
"vueify": "^9.4.1",
|
||||||
"workbox-build": "^7.3.0"
|
"workbox-build": "^7.3.0"
|
||||||
},
|
},
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB |
BIN
public/images/freeplanet-logo-full.odg
Executable file
1186
public/images/freeplanet-logo-full.svg
Executable file
|
After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 158 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 81 KiB |
BIN
public/images/layers-2x.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/images/layers.png
Normal file
|
After Width: | Height: | Size: 696 B |
BIN
public/images/marker-icon-2x.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/images/marker-icon.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 30 KiB |
BIN
public/images/pcb-android-icon-144x144.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
public/images/pcb-android-icon-192x192.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
public/images/pcb-android-icon-36x36.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
public/images/pcb-android-icon-48x48.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
public/images/pcb-android-icon-72x72.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
public/images/pcb-android-icon-96x96.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
public/images/pcb-apple-icon-114x114.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
public/images/pcb-apple-icon-120x120.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
public/images/pcb-apple-icon-144x144.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
public/images/pcb-apple-icon-152x152.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
public/images/pcb-apple-icon-180x180.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
public/images/pcb-apple-icon-57x57.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
public/images/pcb-apple-icon-60x60.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
public/images/pcb-apple-icon-72x72.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
public/images/pcb-apple-icon-76x76.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
public/images/pcb-apple-icon.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
public/images/piuchebuono-logo-full.png
Normal file
|
After Width: | Height: | Size: 163 KiB |
BIN
public/images/riso_home.png
Normal file
|
After Width: | Height: | Size: 279 KiB |
BIN
public/images/riso_home_dark.png
Normal file
|
After Width: | Height: | Size: 258 KiB |
BIN
public/images/riso_services.png
Normal file
|
After Width: | Height: | Size: 124 KiB |
@@ -1,2 +0,0 @@
|
|||||||
!function(){'use strict';try{self['workbox:sw:6.1.0']&&_()}catch(t){}const t={backgroundSync:'background-sync',broadcastUpdate:'broadcast-update',cacheableResponse:'cacheable-response',core:'core',expiration:'expiration',googleAnalytics:'offline-ga',navigationPreload:'navigation-preload',precaching:'precaching',rangeRequests:'range-requests',routing:'routing',strategies:'strategies',streams:'streams',recipes:'recipes'};self.workbox=new class{constructor(){return this.v={},this.Pt={debug:'localhost'===self.location.hostname,modulePathPrefix:null,modulePathCb:null},this.$t=this.Pt.debug?'dev':'prod',this.jt=!1,new Proxy(this,{get(e,s){if(e[s])return e[s];const o=t[s];return o&&e.loadModule('workbox-'+o),e[s]}})}setConfig(t={}){if(this.jt)throw new Error('Config must be set before accessing workbox.* modules');Object.assign(this.Pt,t),this.$t=this.Pt.debug?'dev':'prod'}loadModule(t){const e=this.St(t);try{importScripts(e),this.jt=!0}catch(s){throw console.error(`Unable to import module '${t}' from '${e}'.`),s}}St(t){if(this.Pt.modulePathCb)return this.Pt.modulePathCb(t,this.Pt.debug);let e=['https://storage.googleapis.com/workbox-cdn/releases/6.1.0'];const s=`${t}.${this.$t}.js`,o=this.Pt.modulePathPrefix;return o&&(e=o.split('/'),''===e[e.length-1]&&e.splice(e.length-1,1)),e.push(s),e.join('/')}}}();
|
|
||||||
//# sourceMappingURL=workbox-sw.js.map
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
!function(){"use strict";try{self["workbox:sw:5.1.4"]&&_()}catch(t){}const t={backgroundSync:"background-sync",broadcastUpdate:"broadcast-update",cacheableResponse:"cacheable-response",core:"core",expiration:"expiration",googleAnalytics:"offline-ga",navigationPreload:"navigation-preload",precaching:"precaching",rangeRequests:"range-requests",routing:"routing",strategies:"strategies",streams:"streams"};self.workbox=new class{constructor(){return this.v={},this.t={debug:"localhost"===self.location.hostname,modulePathPrefix:null,modulePathCb:null},this.s=this.t.debug?"dev":"prod",this.o=!1,new Proxy(this,{get(e,s){if(e[s])return e[s];const o=t[s];return o&&e.loadModule("workbox-"+o),e[s]}})}setConfig(t={}){if(this.o)throw new Error("Config must be set before accessing workbox.* modules");Object.assign(this.t,t),this.s=this.t.debug?"dev":"prod"}loadModule(t){const e=this.i(t);try{importScripts(e),this.o=!0}catch(s){throw console.error(`Unable to import module '${t}' from '${e}'.`),s}}i(t){if(this.t.modulePathCb)return this.t.modulePathCb(t,this.t.debug);let e=["https://storage.googleapis.com/workbox-cdn/releases/5.1.4"];const s=`${t}.${this.s}.js`,o=this.t.modulePathPrefix;return o&&(e=o.split("/"),""===e[e.length-1]&&e.splice(e.length-1,1)),e.push(s),e.join("/")}}}();
|
|
||||||
//# sourceMappingURL=workbox-sw.js.map
|
|
||||||
BIN
public/myicons/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 862 B |
BIN
public/myicons/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
@@ -1,2 +1,2 @@
|
|||||||
!function(){"use strict";try{self["workbox:sw:5.1.4"]&&_()}catch(t){}const t={backgroundSync:"background-sync",broadcastUpdate:"broadcast-update",cacheableResponse:"cacheable-response",core:"core",expiration:"expiration",googleAnalytics:"offline-ga",navigationPreload:"navigation-preload",precaching:"precaching",rangeRequests:"range-requests",routing:"routing",strategies:"strategies",streams:"streams"};self.workbox=new class{constructor(){return this.v={},this.t={debug:"localhost"===self.location.hostname,modulePathPrefix:null,modulePathCb:null},this.s=this.t.debug?"dev":"prod",this.o=!1,new Proxy(this,{get(e,s){if(e[s])return e[s];const o=t[s];return o&&e.loadModule("workbox-"+o),e[s]}})}setConfig(t={}){if(this.o)throw new Error("Config must be set before accessing workbox.* modules");Object.assign(this.t,t),this.s=this.t.debug?"dev":"prod"}loadModule(t){const e=this.i(t);try{importScripts(e),this.o=!0}catch(s){throw console.error(`Unable to import module '${t}' from '${e}'.`),s}}i(t){if(this.t.modulePathCb)return this.t.modulePathCb(t,this.t.debug);let e=["https://storage.googleapis.com/workbox-cdn/releases/5.1.4"];const s=`${t}.${this.s}.js`,o=this.t.modulePathPrefix;return o&&(e=o.split("/"),""===e[e.length-1]&&e.splice(e.length-1,1)),e.push(s),e.join("/")}}}();
|
!function(){"use strict";try{self["workbox:sw:7.3.0"]&&_()}catch(t){}const t={backgroundSync:"background-sync",broadcastUpdate:"broadcast-update",cacheableResponse:"cacheable-response",core:"core",expiration:"expiration",googleAnalytics:"offline-ga",navigationPreload:"navigation-preload",precaching:"precaching",rangeRequests:"range-requests",routing:"routing",strategies:"strategies",streams:"streams",recipes:"recipes"};self.workbox=new class{constructor(){return this.v={},this.Pt={debug:"localhost"===self.location.hostname,modulePathPrefix:null,modulePathCb:null},this.$t=this.Pt.debug?"dev":"prod",this.jt=!1,new Proxy(this,{get(e,s){if(e[s])return e[s];const o=t[s];return o&&e.loadModule(`workbox-${o}`),e[s]}})}setConfig(t={}){if(this.jt)throw new Error("Config must be set before accessing workbox.* modules");Object.assign(this.Pt,t),this.$t=this.Pt.debug?"dev":"prod"}loadModule(t){const e=this.St(t);try{importScripts(e),this.jt=!0}catch(s){throw console.error(`Unable to import module '${t}' from '${e}'.`),s}}St(t){if(this.Pt.modulePathCb)return this.Pt.modulePathCb(t,this.Pt.debug);let e=["https://storage.googleapis.com/workbox-cdn/releases/7.3.0"];const s=`${t}.${this.$t}.js`,o=this.Pt.modulePathPrefix;return o&&(e=o.split("/"),""===e[e.length-1]&&e.splice(e.length-1,1)),e.push(s),e.join("/")}}}();
|
||||||
//# sourceMappingURL=workbox-sw.js.map
|
//# sourceMappingURL=workbox-sw.js.map
|
||||||
|
|||||||
@@ -1,13 +1,11 @@
|
|||||||
VITE_APP_ID="18"
|
VITE_APP_ID="18"
|
||||||
VITE_APP_URL="https://gruppomacro.app"
|
VITE_APP_URL="https://test.gruppomacro.app"
|
||||||
VITE_MONGODB_HOST="https://api.gruppomacro.app"
|
VITE_MONGODB_HOST="https://testapi.gruppomacro.app"
|
||||||
VITE_LOGO_REG='gruppomacro-logo-full.png'
|
VITE_LOGO_REG="gruppomacro-logo-full.png"
|
||||||
VITE_PUBLICKEY_PUSH="BJgo8XR_upbnbMLWgCAUELo6DK7dRXffYAnFOxbaMMz5favBgcQBKT-eISqouO-jRad4Sw8l5nd2wCF6KorGiTc"
|
VITE_PUBLICKEY_PUSH="BJgo8XR_upbnbMLWgCAUELo6DK7dRXffYAnFOxbaMMz5favBgcQBKT-eISqouO-jRad4Sw8l5nd2wCF6KorGiTc"
|
||||||
VITE_DEBUG="0"
|
VITE_DEBUG="1"
|
||||||
VITE_VUE_APP_ISTEST="0"
|
VITE_VUE_APP_ISTEST="1"
|
||||||
DIRECTORY_LOCAL="myprojplanet_vite"
|
DIRECTORY_LOCAL="myprojplanet_vite"
|
||||||
DIRECTORY_SERVER="/var/www/nodejs_piuchebuono_server"
|
DIRECTORY_SERVER="/var/www/nodejs_test.piuchebuono_server"
|
||||||
SERVERDIR_WEBSITE="/var/www/gruppomacro.app"
|
SERVERDIR_WEBSITE="/var/www/test.gruppomacro.app"
|
||||||
SERVERPW_WEBSITE="pwdadmin@1AOK"
|
SERVERPW_WEBSITE="pwdadmin@1AOK"
|
||||||
PORT_SPA="8089"
|
|
||||||
PORT_PWA="8099"
|
|
||||||
@@ -133,7 +133,6 @@ const msg_website_it = {
|
|||||||
only_residenti: 'Solo Residenti',
|
only_residenti: 'Solo Residenti',
|
||||||
only_consiglio: 'Solo Consiglieri',
|
only_consiglio: 'Solo Consiglieri',
|
||||||
color: 'Colore',
|
color: 'Colore',
|
||||||
gasordini: 'Gas Ordini',
|
|
||||||
gestoreordini: 'Gestore Ordini',
|
gestoreordini: 'Gestore Ordini',
|
||||||
},
|
},
|
||||||
msg: {
|
msg: {
|
||||||
|
|||||||
@@ -133,7 +133,6 @@ const msg_website_it = {
|
|||||||
only_residenti: 'Solo Residenti',
|
only_residenti: 'Solo Residenti',
|
||||||
only_consiglio: 'Solo Consiglieri',
|
only_consiglio: 'Solo Consiglieri',
|
||||||
color: 'Colore',
|
color: 'Colore',
|
||||||
gasordini: 'Gas Ordini',
|
|
||||||
gestoreordini: 'Gestore Ordini',
|
gestoreordini: 'Gestore Ordini',
|
||||||
},
|
},
|
||||||
msg: {
|
msg: {
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
TERMINA DI LAVORARE SU nuovomondo.app: (Sovrascrivo!)
|
TERMINA DI LAVORARE SU gruppomacro.app: (Sovrascrivo!)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Gruppo Macro",
|
"name": "PiuCheBuono",
|
||||||
"short_name": "GruppoMacro",
|
"short_name": "PiuCheBuono",
|
||||||
"description": "",
|
"description": "PiuCheBuono è un GAS e Bottega",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
"background_color": "#fff",
|
"background_color": "#fff",
|
||||||
@@ -11,17 +11,47 @@
|
|||||||
"start_url": "/?homescreen=1",
|
"start_url": "/?homescreen=1",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/images/gm-android-icon-512x512.png",
|
"src:": "/images/pcb-android-icon-512x512.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/images/gm-android-icon-192x192.png",
|
"src:": "/images/pcb-android-icon-384x384.png",
|
||||||
|
"sizes": "384x384",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src:": "/images/pcb-android-icon-192x192.png",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/images/gm-apple-touch-icon.png",
|
"src:": "/images/pcb-android-icon-144x144.png",
|
||||||
|
"sizes": "144x144",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src:": "/images/pcb-android-icon-96x96.png",
|
||||||
|
"sizes": "96x96",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src:": "/images/pcb-apple-icon-120x120.png",
|
||||||
|
"sizes": "120x120",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src:": "/images/pcb-apple-icon-144x144.png",
|
||||||
|
"sizes": "144x144",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src:": "/images/pcb-apple-icon-152x152.png",
|
||||||
|
"sizes": "152x152",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src:": "/images/pcb-apple-icon-180x180.png",
|
||||||
"sizes": "180x180",
|
"sizes": "180x180",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -306,8 +306,8 @@ export default defineComponent({
|
|||||||
|
|
||||||
let index = 1
|
let index = 1
|
||||||
for (const itemorder of getItemsCart.value) {
|
for (const itemorder of getItemsCart.value) {
|
||||||
const productCode = itemorder.order.product?.productInfo.code || '';
|
const productCode = itemorder.order.product?.productInfo?.code || '';
|
||||||
const productName = itemorder.order.product?.productInfo.name || '';
|
const productName = itemorder.order.product?.productInfo?.name || '';
|
||||||
const quantity = itemorder.order.quantity + itemorder.order.quantitypreordered;
|
const quantity = itemorder.order.quantity + itemorder.order.quantitypreordered;
|
||||||
const price = Number(itemorder.order.price).toFixed(2);
|
const price = Number(itemorder.order.price).toFixed(2);
|
||||||
const totalPrice = (parseFloat(price) * quantity).toFixed(2);
|
const totalPrice = (parseFloat(price) * quantity).toFixed(2);
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
>
|
>
|
||||||
<CSingleCart
|
<CSingleCart
|
||||||
:order="itemorder.order"
|
:order="itemorder.order"
|
||||||
:idOrdersCart="recOrderCart._id"
|
:idOrdersCart="recOrderCart?._id"
|
||||||
:showall="true"
|
:showall="true"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
<table class="table-price">
|
<table class="table-price">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label-price">{{ t('ecomm.prezzointero') }}:</td>
|
<td class="label-price">{{ myTotalPrice !== totalPriceIntero ? t('ecomm.prezzointero') : t('ecomm.totale') }}:</td>
|
||||||
<td
|
<td
|
||||||
class="value-price text-subtitle1"
|
class="value-price text-subtitle1"
|
||||||
:class="{ 'text-strike': myTotalPrice !== totalPriceIntero }"
|
:class="{ 'text-strike': myTotalPrice !== totalPriceIntero }"
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
€ {{ totalPriceIntero }}
|
€ {{ totalPriceIntero }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="recOrderCart.codice_sconto">
|
<tr v-if="recOrderCart?.codice_sconto">
|
||||||
<td class="label-price">{{ t('ecomm.sconto_appl') }}:</td>
|
<td class="label-price">{{ t('ecomm.sconto_appl') }}:</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="column items-center">
|
<div class="column items-center">
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr v-if="!recOrderCart.codice_sconto">
|
<tr v-if="!recOrderCart?.codice_sconto">
|
||||||
<td class="label">{{ t('ecomm.codice_sconto') }}:</td>
|
<td class="label">{{ t('ecomm.codice_sconto') }}:</td>
|
||||||
<td>
|
<td>
|
||||||
<q-input
|
<q-input
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr v-if="myTotalPrice !== totalPriceIntero">
|
||||||
<td class="label">{{ t('ecomm.totale_scontato') }}:</td>
|
<td class="label">{{ t('ecomm.totale_scontato') }}:</td>
|
||||||
<td class="ordine_scontato_nuovo text-center">€ {{ myTotalPrice }}</td>
|
<td class="ordine_scontato_nuovo text-center">€ {{ myTotalPrice }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
</q-input>
|
</q-input>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="recOrderCart.note_ordine_gas"
|
v-if="recOrderCart?.note_ordine_gas"
|
||||||
class="note_ordine_gas"
|
class="note_ordine_gas"
|
||||||
v-html="recOrderCart.note_ordine_gas"
|
v-html="recOrderCart.note_ordine_gas"
|
||||||
></div>
|
></div>
|
||||||
|
|||||||
@@ -1773,6 +1773,10 @@ export default defineComponent({
|
|||||||
return userStore.isFacilitatore;
|
return userStore.isFacilitatore;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function enableToEdit() {
|
||||||
|
return isFacilitatore() || userStore.isAdmin || userStore.isManager;
|
||||||
|
}
|
||||||
|
|
||||||
function isAdmin() {
|
function isAdmin() {
|
||||||
return userStore.isAdmin;
|
return userStore.isAdmin;
|
||||||
}
|
}
|
||||||
@@ -2378,6 +2382,12 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (enableToEdit()) {
|
||||||
|
colVisib.value.push('deleterec');
|
||||||
|
colVisib.value.push('copyrec');
|
||||||
|
colVisib.value.unshift('modifrec');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// console.log('REFRR - changetable')
|
// console.log('REFRR - changetable')
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<table class="table">
|
<table class="table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">{{ t('ecomm.prezzointero') }}:</td>
|
<td class="label-price">{{ myTotalPrice !== totalPriceIntero ? t('ecomm.prezzointero') : t('ecomm.totale') }}:</td>
|
||||||
<td
|
<td
|
||||||
class="value text-subtitle1 text-right"
|
class="value text-subtitle1 text-right"
|
||||||
:class="{ 'text-strike': myTotalPrice !== totalPriceIntero }"
|
:class="{ 'text-strike': myTotalPrice !== totalPriceIntero }"
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
€ {{ totalPriceIntero }}
|
€ {{ totalPriceIntero }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="recOrderCart.codice_sconto">
|
<tr v-if="recOrderCart?.codice_sconto">
|
||||||
<td class="label">{{ t('ecomm.sconto_appl') }}:</td>
|
<td class="label">{{ t('ecomm.sconto_appl') }}:</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="column items-center">
|
<div class="column items-center">
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr v-if="!recOrderCart.codice_sconto">
|
<tr v-if="!recOrderCart?.codice_sconto">
|
||||||
<td class="label">{{ t('ecomm.codice_sconto') }}:</td>
|
<td class="label">{{ t('ecomm.codice_sconto') }}:</td>
|
||||||
<td>
|
<td>
|
||||||
<q-input
|
<q-input
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr v-if="myTotalPrice !== totalPriceIntero">
|
||||||
<td class="label">{{ t('ecomm.totale_scontato') }}:</td>
|
<td class="label">{{ t('ecomm.totale_scontato') }}:</td>
|
||||||
<td class="ordine_scontato_nuovo text-right">€ {{ myTotalPrice }}</td>
|
<td class="ordine_scontato_nuovo text-right">€ {{ myTotalPrice }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<q-spinner v-if="!endload" color="primary" size="3em" :thickness="2" />
|
<q-spinner v-if="!endload" color="primary" size="3em" :thickness="2" />
|
||||||
<div v-if="endload && recOrderCart.numorder > 0">
|
<div v-if="endload && recOrderCart?.numorder > 0">
|
||||||
<div v-if="recOrderCart" class="panel">
|
<div v-if="recOrderCart" class="panel">
|
||||||
<q-toggle
|
<q-toggle
|
||||||
v-if="tools.isManager()"
|
v-if="tools.isManager()"
|
||||||
|
|||||||
@@ -139,7 +139,7 @@
|
|||||||
(cosa === shared_consts.PROD.GAS && Products.getQtyAvailable(myproduct) > 0)
|
(cosa === shared_consts.PROD.GAS && Products.getQtyAvailable(myproduct) > 0)
|
||||||
"
|
"
|
||||||
:clickable="tools.isManager()"
|
:clickable="tools.isManager()"
|
||||||
style="padding: 16px !important;"
|
style="padding: 16px !important"
|
||||||
@click="
|
@click="
|
||||||
tools.isManager() &&
|
tools.isManager() &&
|
||||||
!editOn &&
|
!editOn &&
|
||||||
@@ -239,7 +239,10 @@
|
|||||||
<div class="text-h7 boldhigh titolo_prod">
|
<div class="text-h7 boldhigh titolo_prod">
|
||||||
{{ myproduct.productInfo.name }}
|
{{ myproduct.productInfo.name }}
|
||||||
</div>
|
</div>
|
||||||
<div v-if="myproduct?.productInfo?.authors" class="text-h8 text-italic titolo_prod q-mb-sm">
|
<div
|
||||||
|
v-if="myproduct?.productInfo?.authors"
|
||||||
|
class="text-h8 text-italic titolo_prod q-mb-sm"
|
||||||
|
>
|
||||||
{{ Products.getAutoriByArrayAuthors(myproduct.productInfo.authors) }}
|
{{ Products.getAutoriByArrayAuthors(myproduct.productInfo.authors) }}
|
||||||
</div>
|
</div>
|
||||||
<div class="product_code">
|
<div class="product_code">
|
||||||
@@ -419,8 +422,9 @@
|
|||||||
:editOn="editOn"
|
:editOn="editOn"
|
||||||
table="products"
|
table="products"
|
||||||
:id="myproduct._id"
|
:id="myproduct._id"
|
||||||
:rec="myproduct.productInfo"
|
:rec="myproduct"
|
||||||
mykey="note"
|
mykey="productInfo"
|
||||||
|
mysubkey="note"
|
||||||
debounce="1000"
|
debounce="1000"
|
||||||
@save="updateproductmodif"
|
@save="updateproductmodif"
|
||||||
:type="costanti.FieldType.string"
|
:type="costanti.FieldType.string"
|
||||||
@@ -452,8 +456,9 @@
|
|||||||
:title="t('products.imagefile')"
|
:title="t('products.imagefile')"
|
||||||
table="products"
|
table="products"
|
||||||
:id="myproduct._id"
|
:id="myproduct._id"
|
||||||
:rec="myproduct.productInfo"
|
:rec="myproduct"
|
||||||
mykey="imagefile"
|
mykey="productInfo"
|
||||||
|
mysubkey="imagefile"
|
||||||
debounce="1000"
|
debounce="1000"
|
||||||
@save="updateproductmodif"
|
@save="updateproductmodif"
|
||||||
:type="costanti.FieldType.imagerec"
|
:type="costanti.FieldType.imagerec"
|
||||||
@@ -513,10 +518,10 @@
|
|||||||
:type="costanti.FieldType.number"
|
:type="costanti.FieldType.number"
|
||||||
>
|
>
|
||||||
</CMyValueDb>
|
</CMyValueDb>
|
||||||
<CMyValueDb
|
<!--<CMyValueDb
|
||||||
v-if="editOn"
|
v-if="editOn"
|
||||||
:editOn="editOn"
|
:editOn="editOn"
|
||||||
:title="t('products.maxbookableGASQty')"
|
:title="t('ecomm.maxbookableGASQty')"
|
||||||
table="products"
|
table="products"
|
||||||
:id="myproduct._id"
|
:id="myproduct._id"
|
||||||
:rec="myproduct"
|
:rec="myproduct"
|
||||||
@@ -525,7 +530,7 @@
|
|||||||
@save="updateproductmodif"
|
@save="updateproductmodif"
|
||||||
:type="costanti.FieldType.number"
|
:type="costanti.FieldType.number"
|
||||||
>
|
>
|
||||||
</CMyValueDb>
|
</CMyValueDb>-->
|
||||||
<div class="prod_qtywarn">
|
<div class="prod_qtywarn">
|
||||||
<div v-if="tools.isManager() && !!myproduct.QuantitaPrenotateInAttesa">
|
<div v-if="tools.isManager() && !!myproduct.QuantitaPrenotateInAttesa">
|
||||||
{{
|
{{
|
||||||
@@ -679,8 +684,8 @@
|
|||||||
{{
|
{{
|
||||||
t('ecomm.bookedGASQtyOrdered_str', {
|
t('ecomm.bookedGASQtyOrdered_str', {
|
||||||
qta:
|
qta:
|
||||||
(myproduct.bookableGASBloccatiQty +
|
(Products.getQtyBloccataBookableAvailable(myproduct) +
|
||||||
myproduct.QuantitaPrenotateInAttesa) *
|
Products.getQuantitaPrenotateInAttesa(myproduct)) *
|
||||||
myproduct.productInfo.weight,
|
myproduct.productInfo.weight,
|
||||||
qtatot: myproduct.qtyToReachForGas * myproduct.productInfo.weight,
|
qtatot: myproduct.qtyToReachForGas * myproduct.productInfo.weight,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
(site.confpages?.enableRegMultiChoice || !site.confpages?.enabledRegNeedTelegram)
|
(site.confpages?.enableRegMultiChoice || !site.confpages?.enabledRegNeedTelegram)
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<CVerifyEmail v-if="!tools.isEmailVerified() && !tools.TelegVerificato()">
|
<CVerifyEmail v-if="tools.isLogged() && !tools.isEmailVerified() && !tools.TelegVerificato()">
|
||||||
</CVerifyEmail>
|
</CVerifyEmail>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ const msg_website_enUs = {
|
|||||||
products: {
|
products: {
|
||||||
quantity: 'Quantità',
|
quantity: 'Quantità',
|
||||||
quantityAvailable: 'Disponibili',
|
quantityAvailable: 'Disponibili',
|
||||||
|
stockQty: 'In Magazzino',
|
||||||
|
stockBloccatiQty: 'Bloccati In Magazzino',
|
||||||
weight: 'Peso',
|
weight: 'Peso',
|
||||||
stars: 'Voto',
|
stars: 'Voto',
|
||||||
color: 'Colore',
|
color: 'Colore',
|
||||||
@@ -36,6 +38,7 @@ const msg_website_enUs = {
|
|||||||
productslist: 'Lista Prodotti',
|
productslist: 'Lista Prodotti',
|
||||||
collabora: 'Collabora',
|
collabora: 'Collabora',
|
||||||
storehouses: 'Magazzino',
|
storehouses: 'Magazzino',
|
||||||
|
providers: 'Fornitori',
|
||||||
departments: 'Uffici',
|
departments: 'Uffici',
|
||||||
orders: 'Ordini Ricevuti',
|
orders: 'Ordini Ricevuti',
|
||||||
orders2: 'Ordini Ricevuti',
|
orders2: 'Ordini Ricevuti',
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ const msg_website_es = {
|
|||||||
products: {
|
products: {
|
||||||
quantity: 'Quantità',
|
quantity: 'Quantità',
|
||||||
quantityAvailable: 'Disponibili',
|
quantityAvailable: 'Disponibili',
|
||||||
|
stockQty: 'In Magazzino',
|
||||||
weight: 'Peso',
|
weight: 'Peso',
|
||||||
stars: 'Voto',
|
stars: 'Voto',
|
||||||
color: 'Colore',
|
color: 'Colore',
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const msg_website_it = {
|
const msg_website_it = {
|
||||||
ws: {
|
ws: {
|
||||||
sitename: 'Gruppo Macro',
|
sitename: 'Più che Buono',
|
||||||
siteshortname: 'Gruppo Macro',
|
siteshortname: 'Più che Buono',
|
||||||
description: '',
|
description: '',
|
||||||
keywords: '',
|
keywords: '',
|
||||||
},
|
},
|
||||||
@@ -30,6 +30,27 @@ const msg_website_it = {
|
|||||||
test: 'Test',
|
test: 'Test',
|
||||||
projects: 'Progetti',
|
projects: 'Progetti',
|
||||||
report: 'Report Ore',
|
report: 'Report Ore',
|
||||||
|
producer: 'Produttore',
|
||||||
|
orderinfo: 'Ordini Effettuati',
|
||||||
|
products: 'Prodotti',
|
||||||
|
cash: 'Cassa',
|
||||||
|
productInfos: 'Info Prodotti',
|
||||||
|
listinoprodotti: 'Listino Prodotti',
|
||||||
|
productslist: 'Lista Prodotti',
|
||||||
|
collabora: 'Collabora',
|
||||||
|
categories: 'Categorie',
|
||||||
|
storehouses: 'Magazzino',
|
||||||
|
providers: 'Fornitori',
|
||||||
|
catprods: 'Categorie',
|
||||||
|
subcatprods: 'Sotto-Categorie',
|
||||||
|
gasordine: 'Gas Ordine',
|
||||||
|
scontisticas: 'Scontistica',
|
||||||
|
departments: 'Uffici',
|
||||||
|
orders: 'Ordini Ricevuti',
|
||||||
|
orders2: 'Ordini Ricevuti',
|
||||||
|
sharewithus: 'Condividi con Noi',
|
||||||
|
checkout: 'Carrello',
|
||||||
|
payment: 'Pagamenti',
|
||||||
regok: 'Registrazione Confermata',
|
regok: 'Registrazione Confermata',
|
||||||
presentazione: 'Presentazione',
|
presentazione: 'Presentazione',
|
||||||
presentazione2: 'Presentazione',
|
presentazione2: 'Presentazione',
|
||||||
@@ -75,12 +96,14 @@ const msg_website_it = {
|
|||||||
eventodef: 'Evento:',
|
eventodef: 'Evento:',
|
||||||
prova: 'prova',
|
prova: 'prova',
|
||||||
dbop: 'Operazioni',
|
dbop: 'Operazioni',
|
||||||
dbopmacro: 'Operazioni Macro',
|
|
||||||
projall: 'Comunitari',
|
projall: 'Comunitari',
|
||||||
groups: 'Lista Gruppi',
|
groups: 'Lista Gruppi',
|
||||||
projectsShared: 'Condivisi da me',
|
projectsShared: 'Condivisi da me',
|
||||||
myprojects: 'Privati',
|
myprojects: 'Privati',
|
||||||
favproj: 'Favoriti',
|
favproj: 'Favoriti',
|
||||||
|
admin_ecommerce: 'ECommerce',
|
||||||
|
ecommerce: 'Prodotti',
|
||||||
|
ecommerce_menu: 'ECommerce1',
|
||||||
hours: 'Ore',
|
hours: 'Ore',
|
||||||
department: 'Uffici',
|
department: 'Uffici',
|
||||||
title: 'Titolo',
|
title: 'Titolo',
|
||||||
@@ -109,8 +132,9 @@ const msg_website_it = {
|
|||||||
onlyif_logged: 'Solo se Loggati',
|
onlyif_logged: 'Solo se Loggati',
|
||||||
only_residenti: 'Solo Residenti',
|
only_residenti: 'Solo Residenti',
|
||||||
only_consiglio: 'Solo Consiglieri',
|
only_consiglio: 'Solo Consiglieri',
|
||||||
only_collab: 'Solo Collaboratori',
|
|
||||||
color: 'Colore',
|
color: 'Colore',
|
||||||
|
gestoreordini: 'Gestore Ordini',
|
||||||
|
gestoreordinigas: 'Gestore Ordini GAS',
|
||||||
},
|
},
|
||||||
msg: {
|
msg: {
|
||||||
myAppName: 'Più che Buono',
|
myAppName: 'Più che Buono',
|
||||||
@@ -172,18 +196,7 @@ const msg_website_it = {
|
|||||||
descr: '<ul class="mylist" style="padding-left: 20px;">'
|
descr: '<ul class="mylist" style="padding-left: 20px;">'
|
||||||
+ '<li>📱<strong>Condividendo la APP</strong> a tutti coloro che vogliono far parte insieme della crescita e sviluppo di una Nuova Era</li>'
|
+ '<li>📱<strong>Condividendo la APP</strong> a tutti coloro che vogliono far parte insieme della crescita e sviluppo di una Nuova Era</li>'
|
||||||
+ '<li>👥 Aiutando a creare Gruppi Territoriali nella vostra città, impegnandosi a realizzare progetti per il Bene Comune, in onore ai principi Amorevoli e di condivisione.</li>'
|
+ '<li>👥 Aiutando a creare Gruppi Territoriali nella vostra città, impegnandosi a realizzare progetti per il Bene Comune, in onore ai principi Amorevoli e di condivisione.</li>'
|
||||||
+ '<li>🌱 Sostenendo le persone attorno a voi, e rispettando la nostra vera Casa: Madre Natura e Tutti gli Esseri Viventi. ❤️</li>'
|
+ '<li>🌱 Sostenendo le persone attorno a voi, e rispettando la nostra vera Casa: Madre Natura e Tutti gli Esseri Viventi. ❤️</li>' +
|
||||||
+ '<li>👨🏻💻 Con una <strong>piccola donazione</strong> per le spese dei Server, manutenzione e per i continui sviluppi e miglioramenti</li></ul>' +
|
|
||||||
'1) Tramite <strong><a href="https://paypal.me/paoloarena" target="_blank">Paypal</a></strong>:<br>' +
|
|
||||||
'<br>2) Tramite <strong>Satispay</strong>: <a href="https://www.satispay.com/app/match/link/money-box/S6Y-SVN--62712D42-35B0-4BB9-8511-410C2AB8CD45" target="_blank">Clicca qui</a><br>' +
|
|
||||||
'<div style="font-size: 1rem; background-color: white; color: blue; border: solid 2px #f00; margin: 5px; padding: 5px; border-radius: 10px; " ' +
|
|
||||||
'class="row justify-around">' +
|
|
||||||
'Se ancora non hai Satispay <a href="https://www.satispay.com/promo/PAOLOARENA4">Richiedila cliccando qui</a></br>' +
|
|
||||||
'</div>' +
|
|
||||||
'<br>3) Tramite <strong>Bonifico Bancario</strong>:<br>' +
|
|
||||||
'(Scrivi a Surya (<a href="https://t.me/surya1977">@surya1977</a>) per le coordinate</br>' +
|
|
||||||
'' +
|
|
||||||
'4) In alternativa scegli tu una forma di Dono <br />' +
|
|
||||||
'Grazie Mille per l\'Aiuto ed il Supporto' +
|
'Grazie Mille per l\'Aiuto ed il Supporto' +
|
||||||
'<br>',
|
'<br>',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* GRUPPOMACRO APP
|
/* PIUCHEBUONO APP
|
||||||
*/
|
*/
|
||||||
import {
|
import type {
|
||||||
IListRoutes,
|
IListRoutes,
|
||||||
ILang,
|
ILang,
|
||||||
IPreloadImages,
|
IPreloadImages,
|
||||||
@@ -8,30 +8,6 @@ import {
|
|||||||
} from '@model'
|
} from '@model'
|
||||||
|
|
||||||
|
|
||||||
// const SHOW_PROJINTHEMENU = false
|
|
||||||
//
|
|
||||||
// let arrlistafavourite = []
|
|
||||||
// let arrlistaprojtutti = []
|
|
||||||
// let arrlistaprojmiei = []
|
|
||||||
// if (SHOW_PROJINTHEMENU) {
|
|
||||||
// arrlistaprojtutti = Projects.getters.listaprojects(RouteNames.projectsall)
|
|
||||||
// arrlistaprojmiei = Projects.getters.listaprojects(RouteNames.myprojects)
|
|
||||||
// arrlistafavourite = Projects.getters.listaprojects(RouteNames.favouriteprojects)
|
|
||||||
// }
|
|
||||||
// PROGETTI -> FAVORITI :
|
|
||||||
|
|
||||||
// if (arrlistafavourite.length > 0) {
|
|
||||||
// arrMenu.push({
|
|
||||||
// icon: 'favorite_border',
|
|
||||||
// nametranslate: 'pages.' + RouteNames.favouriteprojects,
|
|
||||||
// urlroute: RouteNames.favouriteprojects,
|
|
||||||
// level_parent: 0.0,
|
|
||||||
// level_child: 0.5,
|
|
||||||
// routes2: arrlistafavourite,
|
|
||||||
// idelem: ''
|
|
||||||
// })
|
|
||||||
// }
|
|
||||||
|
|
||||||
const firstPage = {
|
const firstPage = {
|
||||||
active: true,
|
active: true,
|
||||||
order: 5,
|
order: 5,
|
||||||
@@ -44,7 +20,6 @@ const firstPage = {
|
|||||||
infooter: true,
|
infooter: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function getDynamicPages(site: ISites): IListRoutes[] {
|
function getDynamicPages(site: ISites): IListRoutes[] {
|
||||||
|
|
||||||
const baseroutes: IListRoutes[] = [
|
const baseroutes: IListRoutes[] = [
|
||||||
@@ -66,43 +41,13 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
|||||||
materialIcon: 'fas fa-test',
|
materialIcon: 'fas fa-test',
|
||||||
name: 'mypages.test',
|
name: 'mypages.test',
|
||||||
component: () => import('@src/views/testServer/testServer.vue'),
|
component: () => import('@src/views/testServer/testServer.vue'),
|
||||||
inmenu: false,
|
|
||||||
infooter: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
active: true,
|
|
||||||
order: 400,
|
|
||||||
path: '/test-lungo',
|
|
||||||
materialIcon: 'fas fa-test',
|
|
||||||
name: 'mypages.test_lungo',
|
|
||||||
component: () => import('@src/views/testLungo/testLungo.vue'),
|
|
||||||
inmenu: false,
|
|
||||||
infooter: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
active: true,
|
|
||||||
order: 15,
|
|
||||||
path: '/provapao',
|
|
||||||
materialIcon: 'fas fa-house-user',
|
|
||||||
name: 'mypages.provapao',
|
|
||||||
component: () => import('@src/root/provapao/provapao.vue'),
|
|
||||||
meta: { requiresAuth: true },
|
meta: { requiresAuth: true },
|
||||||
inmenu: false,
|
inmenu: false,
|
||||||
infooter: false,
|
infooter: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
active: site.confpages && site.confpages.enableCircuits,
|
/*{
|
||||||
order: 16,
|
active: true,
|
||||||
path: '/circuits',
|
|
||||||
materialIcon: 'fas fa-coins',
|
|
||||||
name: 'mypages.circuits',
|
|
||||||
component: () => import('@src/views/user/mycircuits/mycircuits.vue'),
|
|
||||||
meta: { requiresAuth: true },
|
|
||||||
inmenu: true,
|
|
||||||
infooter: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
active: site.confpages && site.confpages.enableEvents,
|
|
||||||
order: 20,
|
order: 20,
|
||||||
path: '/events',
|
path: '/events',
|
||||||
materialIcon: 'fas fa-bullhorn',
|
materialIcon: 'fas fa-bullhorn',
|
||||||
@@ -111,6 +56,17 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
|||||||
meta: { requiresAuth: true },
|
meta: { requiresAuth: true },
|
||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: true,
|
infooter: true,
|
||||||
|
},*/
|
||||||
|
{
|
||||||
|
active: site.confpages && site.confpages.showProfile,
|
||||||
|
order: 120,
|
||||||
|
path: '/myprofile',
|
||||||
|
materialIcon: 'fas fa-user',
|
||||||
|
name: 'pages.profile',
|
||||||
|
component: () => import('@src/views/user/myprofile/myprofile.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
@@ -124,18 +80,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
|||||||
infooter: false,
|
infooter: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
active: site.confpages && site.confpages.showProfile,
|
active: true,
|
||||||
order: 120,
|
|
||||||
path: '/myprofile',
|
|
||||||
materialIcon: 'fas fa-user',
|
|
||||||
name: 'pages.profile',
|
|
||||||
component: () => import('@src/views/user/myprofile/myprofile.vue'),
|
|
||||||
meta: { requiresAuth: true },
|
|
||||||
inmenu: true,
|
|
||||||
infooter: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
active: site.confpages && site.confpages.showProfile,
|
|
||||||
order: 120,
|
order: 120,
|
||||||
path: '/editprofile',
|
path: '/editprofile',
|
||||||
materialIcon: 'fas fa-user',
|
materialIcon: 'fas fa-user',
|
||||||
@@ -156,6 +101,19 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
|||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: true,
|
infooter: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
active: site.confpages && site.confpages.enableCircuits,
|
||||||
|
order: 16,
|
||||||
|
path: '/circuits',
|
||||||
|
materialIcon: 'fas fa-coins',
|
||||||
|
name: 'mypages.circuits',
|
||||||
|
component: () => import('@src/views/user/mycircuits/mycircuits.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
onlyAdmin: true,
|
||||||
|
onlyManager: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
active: site.confpages && site.confpages.enableGroups,
|
active: site.confpages && site.confpages.enableGroups,
|
||||||
order: 132,
|
order: 132,
|
||||||
@@ -166,6 +124,8 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
|||||||
meta: { requiresAuth: true },
|
meta: { requiresAuth: true },
|
||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: false,
|
infooter: false,
|
||||||
|
onlyAdmin: true,
|
||||||
|
onlyManager: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
@@ -241,6 +201,16 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
|||||||
inmenu: false,
|
inmenu: false,
|
||||||
infooter: false,
|
infooter: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 150,
|
||||||
|
path: '/fundraising',
|
||||||
|
materialIcon: 'fas fa-hand-holding-heart',
|
||||||
|
name: 'pages.fundraising',
|
||||||
|
component: () => import('@src/root/fundraising/fundraising.vue'),
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 80,
|
order: 80,
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
function updatemenu() {
|
function updatemenu() {
|
||||||
console.log('*** updatemenu');
|
// console.log('*** updatemenu');
|
||||||
const mymenu = globalStore.getmenu;
|
const mymenu = globalStore.getmenu;
|
||||||
Object.keys(mymenu).forEach((parentName: any) => {
|
Object.keys(mymenu).forEach((parentName: any) => {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|||||||
@@ -10,11 +10,13 @@ import { CTitleBanner } from '../../../components/CTitleBanner'
|
|||||||
import { CGridTableRec } from '../../../components/CGridTableRec'
|
import { CGridTableRec } from '../../../components/CGridTableRec'
|
||||||
|
|
||||||
import MixinMetaTags from '../../../mixins/mixin-metatags'
|
import MixinMetaTags from '../../../mixins/mixin-metatags'
|
||||||
|
import { useI18n } from 'vue-i18n'
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'GasOrdini',
|
name: 'GasOrdini',
|
||||||
components: { CImgText, CCard, CMyPage, CTitleBanner, CGridTableRec },
|
components: { CImgText, CCard, CMyPage, CTitleBanner, CGridTableRec },
|
||||||
setup() {
|
setup() {
|
||||||
|
const { t } = useI18n();
|
||||||
const pagination = {
|
const pagination = {
|
||||||
sortBy: 'name',
|
sortBy: 'name',
|
||||||
descending: false,
|
descending: false,
|
||||||
@@ -28,6 +30,7 @@ export default defineComponent({
|
|||||||
return {
|
return {
|
||||||
colTableGasordine,
|
colTableGasordine,
|
||||||
setmeta,
|
setmeta,
|
||||||
|
t,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<CMyPage title="Gas Ordini" imgbackground="/images/fornitori.jpg" sizes="max-height: 120px">
|
<CMyPage :title="t('pages.gestoreordinigas')" imgbackground="/images/fornitori.jpg" sizes="max-height: 120px">
|
||||||
<span>{{
|
<span>{{
|
||||||
setmeta({
|
setmeta({
|
||||||
title: 'Gas Ordini',
|
title: t('pages.gestoreordinigas'),
|
||||||
description: '',
|
description: '',
|
||||||
keywords: '',
|
keywords: '',
|
||||||
})
|
})
|
||||||
@@ -10,10 +10,10 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div class="q-ma-sm q-gutter-sm q-pa-xs">
|
<div class="q-ma-sm q-gutter-sm q-pa-xs">
|
||||||
<CTitleBanner title="Gas Ordini"></CTitleBanner>
|
<CTitleBanner :title="t('pages.gestoreordinigas')"></CTitleBanner>
|
||||||
<CGridTableRec prop_mytable="gasordines" prop_mytitle="Lista Gas Ordini" :prop_mycolumns="colTableGasordine"
|
<CGridTableRec prop_mytable="gasordines" :prop_mytitle="t('pages.gestoreordinigas')" :prop_mycolumns="colTableGasordine"
|
||||||
prop_colkey="name" nodataLabel="Nessun Gas Ordine"
|
prop_colkey="name" nodataLabel="Nessun Gas"
|
||||||
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
|
noresultLabel="Il filtro selezionato non ha trovato nessun GAS">
|
||||||
|
|
||||||
</CGridTableRec>
|
</CGridTableRec>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -48,14 +48,6 @@ export default defineComponent({
|
|||||||
preserveNullAndEmptyArrays: true,
|
preserveNullAndEmptyArrays: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
/*{
|
|
||||||
$lookup: {
|
|
||||||
from: 'productinfos',
|
|
||||||
localField: 'product.idProductInfo',
|
|
||||||
foreignField: '_id',
|
|
||||||
as: 'productInfo',
|
|
||||||
},
|
|
||||||
},*/
|
|
||||||
{
|
{
|
||||||
$unwind: {
|
$unwind: {
|
||||||
path: '$productInfo',
|
path: '$productInfo',
|
||||||
|
|||||||
@@ -58,48 +58,7 @@ function getRoutesEcomm(site: ISites) {
|
|||||||
const routes_admin_ecommerce: IListRoutes[] = [
|
const routes_admin_ecommerce: IListRoutes[] = [
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 30,
|
order: 10,
|
||||||
path: '/admin/ecommerce/settings',
|
|
||||||
materialIcon: 'fas fa-cogs',
|
|
||||||
name: 'ecomm.settings',
|
|
||||||
component: () => import('@src/rootgen/admin/settings/settings.vue'),
|
|
||||||
inmenu: true,
|
|
||||||
submenu: true,
|
|
||||||
level_parent: 0,
|
|
||||||
level_child: 0.5,
|
|
||||||
onlyManager: true,
|
|
||||||
onlyEditor: true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
active: true,
|
|
||||||
order: 1040,
|
|
||||||
path: '/products/importa',
|
|
||||||
materialIcon: 'fas fa-upload',
|
|
||||||
name: 'otherpages.manage.importaprodotti',
|
|
||||||
component: () => import('@src/rootgen/admin/importaprodotti/importaprodotti.vue'),
|
|
||||||
level_parent: 0.0,
|
|
||||||
level_child: 0.5,
|
|
||||||
inmenu: true,
|
|
||||||
submenu: true,
|
|
||||||
onlyAdmin: true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
active: true,
|
|
||||||
order: 30,
|
|
||||||
path: '/admin/ecommerce/cash',
|
|
||||||
materialIcon: 'fas fa-cash-register',
|
|
||||||
name: 'mypages.cash',
|
|
||||||
component: () => import('@src/views/ecommerce/cash/cash.vue'),
|
|
||||||
inmenu: true,
|
|
||||||
submenu: true,
|
|
||||||
level_parent: 0,
|
|
||||||
level_child: 0.5,
|
|
||||||
onlyManager: true,
|
|
||||||
onlyEditor: true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
active: true,
|
|
||||||
order: 30,
|
|
||||||
path: '/admin/ecommerce/products',
|
path: '/admin/ecommerce/products',
|
||||||
materialIcon: 'fas fa-lemon',
|
materialIcon: 'fas fa-lemon',
|
||||||
name: 'mypages.listinoprodotti',
|
name: 'mypages.listinoprodotti',
|
||||||
@@ -111,6 +70,33 @@ function getRoutesEcomm(site: ISites) {
|
|||||||
onlyManager: true,
|
onlyManager: true,
|
||||||
onlyEditor: true
|
onlyEditor: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 30,
|
||||||
|
path: '/admin/ecommerce/gasordini',
|
||||||
|
materialIcon: 'fas fa-file-alt',
|
||||||
|
name: 'pages.gestoreordinigas',
|
||||||
|
component: () => import('@src/rootgen/admin/gasordini/gasordini.vue'),
|
||||||
|
inmenu: true,
|
||||||
|
submenu: true,
|
||||||
|
level_parent: 0,
|
||||||
|
level_child: 0.5,
|
||||||
|
onlyManager: true,
|
||||||
|
onlyEditor: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 12,
|
||||||
|
path: '/products/importa',
|
||||||
|
materialIcon: 'fas fa-upload',
|
||||||
|
name: 'otherpages.manage.importaprodotti',
|
||||||
|
component: () => import('@src/rootgen/admin/importaprodotti/importaprodotti.vue'),
|
||||||
|
level_parent: 0.0,
|
||||||
|
level_child: 0.5,
|
||||||
|
inmenu: true,
|
||||||
|
submenu: true,
|
||||||
|
onlyAdmin: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 30,
|
order: 30,
|
||||||
@@ -167,20 +153,6 @@ function getRoutesEcomm(site: ISites) {
|
|||||||
onlyManager: true,
|
onlyManager: true,
|
||||||
onlyEditor: true
|
onlyEditor: true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
active: true,
|
|
||||||
order: 30,
|
|
||||||
path: '/admin/ecommerce/gasordini',
|
|
||||||
materialIcon: 'fas fa-file-alt',
|
|
||||||
name: 'mypages.gasordini',
|
|
||||||
component: () => import('@src/rootgen/admin/gasordini/gasordini.vue'),
|
|
||||||
inmenu: true,
|
|
||||||
submenu: true,
|
|
||||||
level_parent: 0,
|
|
||||||
level_child: 0.5,
|
|
||||||
onlyManager: true,
|
|
||||||
onlyEditor: true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 30,
|
order: 30,
|
||||||
@@ -251,6 +223,34 @@ function getRoutesEcomm(site: ISites) {
|
|||||||
onlyManager: true,
|
onlyManager: true,
|
||||||
onlyEditor: true
|
onlyEditor: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 1900,
|
||||||
|
path: '/admin/ecommerce/cash',
|
||||||
|
materialIcon: 'fas fa-cash-register',
|
||||||
|
name: 'mypages.cash',
|
||||||
|
component: () => import('@src/views/ecommerce/cash/cash.vue'),
|
||||||
|
inmenu: true,
|
||||||
|
submenu: true,
|
||||||
|
level_parent: 0,
|
||||||
|
level_child: 0.5,
|
||||||
|
onlyManager: true,
|
||||||
|
onlyEditor: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 2000,
|
||||||
|
path: '/admin/ecommerce/settings',
|
||||||
|
materialIcon: 'fas fa-cogs',
|
||||||
|
name: 'ecomm.settings',
|
||||||
|
component: () => import('@src/rootgen/admin/settings/settings.vue'),
|
||||||
|
inmenu: true,
|
||||||
|
submenu: true,
|
||||||
|
level_parent: 0,
|
||||||
|
level_child: 0.5,
|
||||||
|
onlyManager: true,
|
||||||
|
onlyEditor: true
|
||||||
|
},
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -92,7 +92,6 @@ const msg_it = {
|
|||||||
bookedQtyOrdered: 'Quantità Ordinate',
|
bookedQtyOrdered: 'Quantità Ordinate',
|
||||||
bookedQtyConfirmed: 'Quantità Confermate',
|
bookedQtyConfirmed: 'Quantità Confermate',
|
||||||
bookableAvailableQty: 'Disponib. Prenotabili',
|
bookableAvailableQty: 'Disponib. Prenotabili',
|
||||||
maxbookableGASQty: 'Prenotabili',
|
|
||||||
bookedGASQtyConfirmed: 'Qtà GAS Confermate',
|
bookedGASQtyConfirmed: 'Qtà GAS Confermate',
|
||||||
bookableGASBloccatiQty: 'Qtà GAS Bloccate',
|
bookableGASBloccatiQty: 'Qtà GAS Bloccate',
|
||||||
weight: 'Peso',
|
weight: 'Peso',
|
||||||
@@ -1269,6 +1268,7 @@ const msg_it = {
|
|||||||
date_updated: 'Ult. Aggiornamento',
|
date_updated: 'Ult. Aggiornamento',
|
||||||
},
|
},
|
||||||
mypages: {
|
mypages: {
|
||||||
|
listadeigas: 'Lista dei GAS',
|
||||||
catalogo_new: 'Vuoi andare al Catalogo "{title}" appena creato?',
|
catalogo_new: 'Vuoi andare al Catalogo "{title}" appena creato?',
|
||||||
confirm_nav: 'Conferma Navigazione',
|
confirm_nav: 'Conferma Navigazione',
|
||||||
catalogo_err: 'Catalogo non generato correttamente',
|
catalogo_err: 'Catalogo non generato correttamente',
|
||||||
@@ -1282,7 +1282,6 @@ const msg_it = {
|
|||||||
admin_ecommerce: 'ECommerce',
|
admin_ecommerce: 'ECommerce',
|
||||||
ecommerce: 'Prodotti',
|
ecommerce: 'Prodotti',
|
||||||
ecommerce_menu: 'ECommerce1',
|
ecommerce_menu: 'ECommerce1',
|
||||||
gasordini: 'Gas Ordini',
|
|
||||||
gestoreordini: 'Gestore Ordini',
|
gestoreordini: 'Gestore Ordini',
|
||||||
producer: 'Produttore',
|
producer: 'Produttore',
|
||||||
orderinfo: 'Ordini Effettuati',
|
orderinfo: 'Ordini Effettuati',
|
||||||
@@ -1941,6 +1940,7 @@ const msg_it = {
|
|||||||
bloccati: 'Bloccati',
|
bloccati: 'Bloccati',
|
||||||
bookedGASQtyOrdered: 'Prenotate',
|
bookedGASQtyOrdered: 'Prenotate',
|
||||||
bookedGASQtyOrdered_str: 'Prenotati {qta} su {qtatot} {unit}',
|
bookedGASQtyOrdered_str: 'Prenotati {qta} su {qtatot} {unit}',
|
||||||
|
maxbookableGASQty: 'Prenotabili',
|
||||||
booked_su_str: '{qta} su {qtatot}',
|
booked_su_str: '{qta} su {qtatot}',
|
||||||
qtyToReachForGas: 'Qta da raggiungere',
|
qtyToReachForGas: 'Qta da raggiungere',
|
||||||
offerta_gas: 'Offerta valida al raggiungimento di {qta} {unit}',
|
offerta_gas: 'Offerta valida al raggiungimento di {qta} {unit}',
|
||||||
|
|||||||
@@ -875,6 +875,7 @@ export const colmyelems = [
|
|||||||
label_trans: 'myelems.idElemParent',
|
label_trans: 'myelems.idElemParent',
|
||||||
}),
|
}),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -1166,6 +1167,7 @@ export const colmypage = [
|
|||||||
fieldtype: costanti.FieldType.string,
|
fieldtype: costanti.FieldType.string,
|
||||||
}),
|
}),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -1213,6 +1215,7 @@ export const colmybot = [
|
|||||||
fieldtype: costanti.FieldType.date,
|
fieldtype: costanti.FieldType.date,
|
||||||
}),
|
}),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -1336,6 +1339,7 @@ export const colnewstosent = [
|
|||||||
label_trans: 'newsletter.error_job',
|
label_trans: 'newsletter.error_job',
|
||||||
fieldtype: costanti.FieldType.string,
|
fieldtype: costanti.FieldType.string,
|
||||||
}),
|
}),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1361,6 +1365,7 @@ export const colTableProducer = [
|
|||||||
AddCol({ name: 'city', label_trans: 'producer.city' }),
|
AddCol({ name: 'city', label_trans: 'producer.city' }),
|
||||||
AddCol({ name: 'img', label_trans: 'producer.img' }),
|
AddCol({ name: 'img', label_trans: 'producer.img' }),
|
||||||
AddCol({ name: 'website', label_trans: 'reg.website' }),
|
AddCol({ name: 'website', label_trans: 'reg.website' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1450,6 +1455,7 @@ export const colTableShareWithUs = [
|
|||||||
label_trans: 'share.rating',
|
label_trans: 'share.rating',
|
||||||
fieldtype: costanti.FieldType.number,
|
fieldtype: costanti.FieldType.number,
|
||||||
}),
|
}),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1476,6 +1482,7 @@ export const colTableHours = [
|
|||||||
showWhen:
|
showWhen:
|
||||||
costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView,
|
costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView,
|
||||||
}),
|
}),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1490,6 +1497,7 @@ export const colTablegroups = [
|
|||||||
fieldtype: costanti.FieldType.multiselect,
|
fieldtype: costanti.FieldType.multiselect,
|
||||||
jointable: 'workers',
|
jointable: 'workers',
|
||||||
}),
|
}),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1497,6 +1505,7 @@ export const colTablegroups = [
|
|||||||
export const colTabledepartments = [
|
export const colTabledepartments = [
|
||||||
AddCol({ name: 'name', label_trans: 'store.name' }),
|
AddCol({ name: 'name', label_trans: 'store.name' }),
|
||||||
AddCol({ name: 'username', label_trans: 'store.username' }),
|
AddCol({ name: 'username', label_trans: 'store.username' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1504,6 +1513,7 @@ export const colTabledepartments = [
|
|||||||
export const colTablecategories = [
|
export const colTablecategories = [
|
||||||
AddCol({ name: 'name', label_trans: 'categories.name' }),
|
AddCol({ name: 'name', label_trans: 'categories.name' }),
|
||||||
AddCol({ name: 'img', label_trans: 'categories.img' }),
|
AddCol({ name: 'img', label_trans: 'categories.img' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1514,24 +1524,28 @@ export const colTableCatProd = [
|
|||||||
AddCol({ name: 'img', label_trans: 'categories.img' }),
|
AddCol({ name: 'img', label_trans: 'categories.img' }),
|
||||||
AddCol({ name: 'icon', label_trans: 'categories.icon' }),
|
AddCol({ name: 'icon', label_trans: 'categories.icon' }),
|
||||||
AddCol({ name: 'color', label_trans: 'categories.color' }),
|
AddCol({ name: 'color', label_trans: 'categories.color' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
export const colTableStatiProdotto = [
|
export const colTableStatiProdotto = [
|
||||||
AddCol({ name: 'IdTipologia', label_trans: 'statoprod.IdTipologia' }),
|
AddCol({ name: 'IdTipologia', label_trans: 'statoprod.IdTipologia' }),
|
||||||
AddCol({ name: 'Descrizione', label_trans: 'statoprod.Descrizione' }),
|
AddCol({ name: 'Descrizione', label_trans: 'statoprod.Descrizione' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
export const colTableTipoFormato = [
|
export const colTableTipoFormato = [
|
||||||
AddCol({ name: 'IdTipoFormato', label_trans: 'statoprod.IdTipologia' }),
|
AddCol({ name: 'IdTipoFormato', label_trans: 'statoprod.IdTipologia' }),
|
||||||
AddCol({ name: 'Descrizione', label_trans: 'statoprod.Descrizione' }),
|
AddCol({ name: 'Descrizione', label_trans: 'statoprod.Descrizione' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
export const colTableTipologie = [
|
export const colTableTipologie = [
|
||||||
AddCol({ name: 'IdTipologia', label_trans: 'statoprod.IdTipologia' }),
|
AddCol({ name: 'IdTipologia', label_trans: 'statoprod.IdTipologia' }),
|
||||||
AddCol({ name: 'Descrizione', label_trans: 'statoprod.Descrizione' }),
|
AddCol({ name: 'Descrizione', label_trans: 'statoprod.Descrizione' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1547,6 +1561,7 @@ export const colTableCollane = [
|
|||||||
fieldtype: costanti.FieldType.number,
|
fieldtype: costanti.FieldType.number,
|
||||||
}),
|
}),
|
||||||
AddCol({ name: 'title', label_trans: 'collane.title' }),
|
AddCol({ name: 'title', label_trans: 'collane.title' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1556,6 +1571,7 @@ export const colTableCatAI = [
|
|||||||
AddCol({ name: 'img', label_trans: 'categories.img' }),
|
AddCol({ name: 'img', label_trans: 'categories.img' }),
|
||||||
AddCol({ name: 'icon', label_trans: 'categories.icon' }),
|
AddCol({ name: 'icon', label_trans: 'categories.icon' }),
|
||||||
AddCol({ name: 'color', label_trans: 'categories.color' }),
|
AddCol({ name: 'color', label_trans: 'categories.color' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1571,6 +1587,7 @@ export const colTableQueryAI = [
|
|||||||
AddCol({ name: 'query', label_trans: 'queryai.query' }),
|
AddCol({ name: 'query', label_trans: 'queryai.query' }),
|
||||||
AddCol({ name: 'ask', label_trans: 'queryai.ask' }),
|
AddCol({ name: 'ask', label_trans: 'queryai.ask' }),
|
||||||
AddCol({ name: 'output_type', label_trans: 'queryai.output_type' }),
|
AddCol({ name: 'output_type', label_trans: 'queryai.output_type' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1586,6 +1603,7 @@ export const colTableSubCatProd = [
|
|||||||
AddCol({ name: 'img', label_trans: 'categories.img' }),
|
AddCol({ name: 'img', label_trans: 'categories.img' }),
|
||||||
AddCol({ name: 'icon', label_trans: 'categories.icon' }),
|
AddCol({ name: 'icon', label_trans: 'categories.icon' }),
|
||||||
AddCol({ name: 'color', label_trans: 'categories.color' }),
|
AddCol({ name: 'color', label_trans: 'categories.color' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1641,6 +1659,7 @@ export const colTableStorehouse = [
|
|||||||
label_trans: 'store.email_GAS_html_order_consegnato',
|
label_trans: 'store.email_GAS_html_order_consegnato',
|
||||||
fieldtype: costanti.FieldType.html,
|
fieldtype: costanti.FieldType.html,
|
||||||
}),
|
}),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1654,6 +1673,7 @@ export const colTableProviders = [
|
|||||||
AddCol({ name: 'region', label_trans: 'store.region' }),
|
AddCol({ name: 'region', label_trans: 'store.region' }),
|
||||||
AddCol({ name: 'img', label_trans: 'store.img' }),
|
AddCol({ name: 'img', label_trans: 'store.img' }),
|
||||||
AddCol({ name: 'website', label_trans: 'reg.website' }),
|
AddCol({ name: 'website', label_trans: 'reg.website' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1663,21 +1683,13 @@ export const colTableGasordine = [
|
|||||||
label_trans: 'sites.active',
|
label_trans: 'sites.active',
|
||||||
fieldtype: costanti.FieldType.boolean,
|
fieldtype: costanti.FieldType.boolean,
|
||||||
}),
|
}),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol({ name: 'name', label_trans: 'store.name' }),
|
AddCol({ name: 'name', label_trans: 'store.name' }),
|
||||||
AddCol({ name: 'description', label_trans: 'store.description' }),
|
|
||||||
AddCol({ name: 'referente', label_trans: 'store.referent' }),
|
|
||||||
AddCol({ name: 'city', label_trans: 'store.city' }),
|
|
||||||
AddCol({ name: 'img', label_trans: 'store.img' }),
|
|
||||||
AddCol({
|
AddCol({
|
||||||
name: 'dataora_chiusura_ordini',
|
name: 'dataora_chiusura_ordini',
|
||||||
label_trans: 'gas.dataora_chiusura_ordini',
|
label_trans: 'gas.dataora_chiusura_ordini',
|
||||||
fieldtype: costanti.FieldType.date,
|
fieldtype: costanti.FieldType.date,
|
||||||
}),
|
}),
|
||||||
AddCol({
|
|
||||||
name: 'note_ordine_gas',
|
|
||||||
label_trans: 'gas.note_ordine_gas',
|
|
||||||
fieldtype: costanti.FieldType.html,
|
|
||||||
}),
|
|
||||||
AddCol({
|
AddCol({
|
||||||
name: 'data_arrivo_merce',
|
name: 'data_arrivo_merce',
|
||||||
label_trans: 'gas.data_arrivo_merce',
|
label_trans: 'gas.data_arrivo_merce',
|
||||||
@@ -1688,6 +1700,17 @@ export const colTableGasordine = [
|
|||||||
label_trans: 'gas.dataora_ritiro',
|
label_trans: 'gas.dataora_ritiro',
|
||||||
fieldtype: costanti.FieldType.date,
|
fieldtype: costanti.FieldType.date,
|
||||||
}),
|
}),
|
||||||
|
AddCol({ name: 'description', label_trans: 'store.description' }),
|
||||||
|
AddCol({ name: 'referente', label_trans: 'store.referent' }),
|
||||||
|
AddCol({ name: 'city', label_trans: 'store.city' }),
|
||||||
|
AddCol({ name: 'img', label_trans: 'store.img' }),
|
||||||
|
AddCol({
|
||||||
|
name: 'note_ordine_gas',
|
||||||
|
label_trans: 'gas.note_ordine_gas',
|
||||||
|
fieldtype: costanti.FieldType.html,
|
||||||
|
showWhen:
|
||||||
|
costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
|
||||||
|
}),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1724,6 +1747,7 @@ export const colTableScontistica = [
|
|||||||
label_trans: 'scontistica.comulativo',
|
label_trans: 'scontistica.comulativo',
|
||||||
fieldtype: costanti.FieldType.boolean,
|
fieldtype: costanti.FieldType.boolean,
|
||||||
}),
|
}),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -1751,6 +1775,7 @@ export const colSectors = [
|
|||||||
AddCol({ name: 'theme', label_trans: 'products.theme' }),
|
AddCol({ name: 'theme', label_trans: 'products.theme' }),
|
||||||
AddCol({ name: 'img', label_trans: 'store.img' }),
|
AddCol({ name: 'img', label_trans: 'store.img' }),
|
||||||
AddCol({ name: 'icon', label_trans: 'store.icon' }),
|
AddCol({ name: 'icon', label_trans: 'store.icon' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -4464,6 +4489,21 @@ export const colTableProdShort = [
|
|||||||
label_trans: 'products.stockQty',
|
label_trans: 'products.stockQty',
|
||||||
fieldtype: costanti.FieldType.number,
|
fieldtype: costanti.FieldType.number,
|
||||||
}),
|
}),
|
||||||
|
AddCol({
|
||||||
|
name: 'maxbookableGASQty',
|
||||||
|
label_trans: 'ecomm.maxbookableGASQty',
|
||||||
|
fieldtype: costanti.FieldType.number,
|
||||||
|
}),
|
||||||
|
AddCol({
|
||||||
|
name: 'maxBookableSinglePersQty',
|
||||||
|
label_trans: 'products.maxBookableSinglePersQty',
|
||||||
|
fieldtype: costanti.FieldType.number,
|
||||||
|
}),
|
||||||
|
AddCol({
|
||||||
|
name: 'qtyToReachForGas',
|
||||||
|
label_trans: 'ecomm.qtyToReachForGas',
|
||||||
|
fieldtype: costanti.FieldType.number,
|
||||||
|
}),
|
||||||
AddCol({
|
AddCol({
|
||||||
name: 'price_acquistato',
|
name: 'price_acquistato',
|
||||||
label_trans: 'products.price_acquistato',
|
label_trans: 'products.price_acquistato',
|
||||||
@@ -4490,7 +4530,7 @@ export const colTableProdShort = [
|
|||||||
}),
|
}),
|
||||||
AddCol({
|
AddCol({
|
||||||
name: 'idProvider',
|
name: 'idProvider',
|
||||||
label_trans: 'provider.name',
|
label_trans: 'providers.name',
|
||||||
fieldtype: costanti.FieldType.select,
|
fieldtype: costanti.FieldType.select,
|
||||||
jointable: 'providers',
|
jointable: 'providers',
|
||||||
}),
|
}),
|
||||||
@@ -4575,7 +4615,7 @@ export const colTableProducts = [
|
|||||||
}),
|
}),
|
||||||
AddCol({
|
AddCol({
|
||||||
name: 'idProvider',
|
name: 'idProvider',
|
||||||
label_trans: 'provider.name',
|
label_trans: 'providers.name',
|
||||||
fieldtype: costanti.FieldType.select,
|
fieldtype: costanti.FieldType.select,
|
||||||
jointable: 'providers',
|
jointable: 'providers',
|
||||||
}),
|
}),
|
||||||
@@ -4696,6 +4736,7 @@ export const colTableProducts = [
|
|||||||
label_trans: 'products.scraped_error',
|
label_trans: 'products.scraped_error',
|
||||||
fieldtype: costanti.FieldType.boolean,
|
fieldtype: costanti.FieldType.boolean,
|
||||||
}),
|
}),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -4708,6 +4749,7 @@ const colcontribtype = [
|
|||||||
label_trans: 'event.showprice',
|
label_trans: 'event.showprice',
|
||||||
fieldtype: costanti.FieldType.boolean,
|
fieldtype: costanti.FieldType.boolean,
|
||||||
}),
|
}),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -4716,6 +4758,7 @@ const colpaymenttype = [
|
|||||||
AddCol({ name: '_id', label_trans: 'others.value' }),
|
AddCol({ name: '_id', label_trans: 'others.value' }),
|
||||||
AddCol({ name: 'key', label_trans: 'reg.key' }),
|
AddCol({ name: 'key', label_trans: 'reg.key' }),
|
||||||
AddCol({ name: 'label', label_trans: 'proj.longdescr' }),
|
AddCol({ name: 'label', label_trans: 'proj.longdescr' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -4729,156 +4772,6 @@ const colworkers = [
|
|||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
|
|
||||||
const colflotte = [
|
|
||||||
AddCol({ name: 'index', label_trans: 'others.value' }),
|
|
||||||
AddCol({ name: 'riga', label_trans: 'reg.riga' }),
|
|
||||||
AddCol({ name: 'col_prima', label_trans: 'ColPrima' }),
|
|
||||||
AddCol({ name: 'col_ultima', label_trans: 'ColUltima' }),
|
|
||||||
];
|
|
||||||
const colnavi = [
|
|
||||||
AddCol({ name: '_id', label_trans: 'others.value' }),
|
|
||||||
AddCol({ name: 'idListaIngresso', label_trans: 'idListaIngresso' }),
|
|
||||||
AddCol({ name: 'riga', label_trans: 'reg.riga' }),
|
|
||||||
AddCol({ name: 'col', label_trans: 'reg.col' }),
|
|
||||||
AddCol({ name: 'ind_order', label_trans: 'ind_order' }),
|
|
||||||
AddCol({
|
|
||||||
name: 'created',
|
|
||||||
label_trans: 'cal.data',
|
|
||||||
fieldtype: costanti.FieldType.date,
|
|
||||||
}),
|
|
||||||
// AddCol({ name: 'date_start', label_trans: 'date_start', fieldtype: costanti.FieldType.date }),
|
|
||||||
// AddCol({ name: 'date_gift_chat_open', label_trans: 'date_gift_chat_open', fieldtype: costanti.FieldType.date }),
|
|
||||||
// AddCol({ name: 'link_chat', label_trans: 'reg.link_chat' }),
|
|
||||||
AddCol({ name: 'parent_id', label_trans: 'parent_id' }),
|
|
||||||
AddCol({
|
|
||||||
name: 'sent_msg_howto_make_gift',
|
|
||||||
label_trans: 'sent_msg_howto_make_gift',
|
|
||||||
fieldtype: costanti.FieldType.boolean,
|
|
||||||
}),
|
|
||||||
// AddCol({ name: 'provvisoria', label_trans: 'reg.provvisoria', fieldtype: costanti.FieldType.boolean }),
|
|
||||||
AddCol({
|
|
||||||
name: 'made_gift',
|
|
||||||
label_trans: 'reg.made_gift',
|
|
||||||
fieldtype: costanti.FieldType.boolean,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'received_gift',
|
|
||||||
label_trans: 'reg.received_gift',
|
|
||||||
fieldtype: costanti.FieldType.boolean,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'date_made_gift',
|
|
||||||
label_trans: 'date_made_gift',
|
|
||||||
fieldtype: costanti.FieldType.date,
|
|
||||||
}),
|
|
||||||
// AddCol({ name: 'received_gift', label_trans: 'received_gift', fieldtype: costanti.FieldType.boolean }),
|
|
||||||
// AddCol({ name: 'date_received_gift', label_trans: 'date_received_gift', fieldtype: costanti.FieldType.date }),
|
|
||||||
AddCol({
|
|
||||||
name: 'offerta_al_fondo',
|
|
||||||
label_trans: 'offerta_al_fondo',
|
|
||||||
fieldtype: costanti.FieldType.number,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'num_tess',
|
|
||||||
label_trans: 'num_tess',
|
|
||||||
fieldtype: costanti.FieldType.number,
|
|
||||||
}),
|
|
||||||
AddCol({ name: 'note', label_trans: 'note', fieldtype: costanti.FieldType.string }),
|
|
||||||
// AddCol({ name: 'note_interne', label_trans: 'note_interne', fieldtype: costanti.FieldType.string }),
|
|
||||||
// AddCol({ name: 'facilitatore', label_trans: 'facilitatore', fieldtype: costanti.FieldType.string }),
|
|
||||||
AddCol(DeleteRec),
|
|
||||||
AddCol(DuplicateRec),
|
|
||||||
];
|
|
||||||
const colnavepersistente = [
|
|
||||||
AddCol({ name: '_id', label_trans: 'others.value' }),
|
|
||||||
AddCol({ name: 'riga', label_trans: 'reg.riga' }),
|
|
||||||
AddCol({ name: 'col', label_trans: 'reg.col' }),
|
|
||||||
AddCol({
|
|
||||||
name: 'date_gift_chat_open',
|
|
||||||
label_trans: 'dashboard.nave_in_partenza',
|
|
||||||
fieldtype: costanti.FieldType.date,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'date_start',
|
|
||||||
label_trans: 'dashboard.nave_in_chiusura',
|
|
||||||
fieldtype: costanti.FieldType.date,
|
|
||||||
}),
|
|
||||||
AddCol({ name: 'link_chat', label_trans: 'reg.link_chat' }),
|
|
||||||
AddCol({
|
|
||||||
name: 'provvisoria',
|
|
||||||
label_trans: 'reg.provvisoria',
|
|
||||||
fieldtype: costanti.FieldType.boolean,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'DoniAttesaDiConferma',
|
|
||||||
label_trans: 'note_bot',
|
|
||||||
fieldtype: costanti.FieldType.number,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'DoniMancanti',
|
|
||||||
label_trans: 'note_bot',
|
|
||||||
fieldtype: costanti.FieldType.number,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'DoniConfermati',
|
|
||||||
label_trans: 'note_bot',
|
|
||||||
fieldtype: costanti.FieldType.number,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'DoniConfermati',
|
|
||||||
label_trans: 'note_bot',
|
|
||||||
fieldtype: costanti.FieldType.number,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'DoniTotali',
|
|
||||||
label_trans: 'note_bot',
|
|
||||||
fieldtype: costanti.FieldType.string,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'note_interne',
|
|
||||||
label_trans: 'note_interne',
|
|
||||||
fieldtype: costanti.FieldType.string,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'facilitatore',
|
|
||||||
label_trans: 'facilitatore',
|
|
||||||
fieldtype: costanti.FieldType.string,
|
|
||||||
}),
|
|
||||||
AddCol(DeleteRec),
|
|
||||||
AddCol(DuplicateRec),
|
|
||||||
];
|
|
||||||
|
|
||||||
const collistaingresso = [
|
|
||||||
AddCol({ name: '_id', label_trans: 'others.value' }),
|
|
||||||
AddCol({ name: 'ind_order', label_trans: 'ind_order' }),
|
|
||||||
AddCol({ name: 'username', label_trans: 'reg.username_short' }),
|
|
||||||
AddCol({ name: 'invitante_username', label_trans: 'reg.aportador_solidario' }),
|
|
||||||
AddCol({
|
|
||||||
name: 'date_added',
|
|
||||||
label_trans: 'date_added',
|
|
||||||
fieldtype: costanti.FieldType.date,
|
|
||||||
}),
|
|
||||||
AddCol({
|
|
||||||
name: 'added',
|
|
||||||
label_trans: 'Aggiunto',
|
|
||||||
fieldtype: costanti.FieldType.boolean,
|
|
||||||
}),
|
|
||||||
AddCol({ name: 'navestr', label_trans: 'Nave', fieldtype: costanti.FieldType.string }),
|
|
||||||
AddCol({
|
|
||||||
name: 'num_tess',
|
|
||||||
label_trans: 'num_tess',
|
|
||||||
fieldtype: costanti.FieldType.number,
|
|
||||||
}),
|
|
||||||
AddCol({ name: 'note', label_trans: 'reg.note', fieldtype: costanti.FieldType.string }),
|
|
||||||
AddCol({
|
|
||||||
name: 'deleted',
|
|
||||||
label_trans: 'reg.deleted',
|
|
||||||
fieldtype: costanti.FieldType.boolean,
|
|
||||||
}),
|
|
||||||
AddCol(DuplicateRec),
|
|
||||||
AddCol(DeleteRec),
|
|
||||||
];
|
|
||||||
|
|
||||||
const colgraduatoria = [
|
const colgraduatoria = [
|
||||||
AddCol({ name: 'index', label_trans: 'index' }),
|
AddCol({ name: 'index', label_trans: 'index' }),
|
||||||
AddCol({
|
AddCol({
|
||||||
@@ -4959,6 +4852,7 @@ const coldisciplines = [
|
|||||||
fieldtype: costanti.FieldType.multiselect,
|
fieldtype: costanti.FieldType.multiselect,
|
||||||
jointable: 'operators',
|
jointable: 'operators',
|
||||||
}),
|
}),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -4966,6 +4860,7 @@ const coldisciplines = [
|
|||||||
const colTablePermission = [
|
const colTablePermission = [
|
||||||
AddCol({ name: '_id', label_trans: 'others.value' }),
|
AddCol({ name: '_id', label_trans: 'others.value' }),
|
||||||
AddCol({ name: 'label', label_trans: 'proj.longdescr' }),
|
AddCol({ name: 'label', label_trans: 'proj.longdescr' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -4973,6 +4868,7 @@ const colTableTipoDiAttivita = [
|
|||||||
AddCol({ name: '_id', label_trans: 'others.value' }),
|
AddCol({ name: '_id', label_trans: 'others.value' }),
|
||||||
AddCol({ name: 'label', label_trans: 'proj.longdescr' }),
|
AddCol({ name: 'label', label_trans: 'proj.longdescr' }),
|
||||||
AddCol({ name: 'note', label_trans: 'proj.longdescr' }),
|
AddCol({ name: 'note', label_trans: 'proj.longdescr' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
@@ -5032,6 +4928,7 @@ export const colTableOperator = [
|
|||||||
AddCol({ name: 'webpage', label_trans: 'op.webpage' }),
|
AddCol({ name: 'webpage', label_trans: 'op.webpage' }),
|
||||||
AddCol({ name: 'days_working', label_trans: 'op.days_working' }),
|
AddCol({ name: 'days_working', label_trans: 'op.days_working' }),
|
||||||
AddCol({ name: 'facebook', label_trans: 'op.facebook' }),
|
AddCol({ name: 'facebook', label_trans: 'op.facebook' }),
|
||||||
|
AddCol(ModifRec),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -965,7 +965,7 @@ export const useProducts = defineStore('Products', {
|
|||||||
if (trovato) this.userActive = trovato;
|
if (trovato) this.userActive = trovato;
|
||||||
else this.userActive = userStore.my;
|
else this.userActive = userStore.my;
|
||||||
|
|
||||||
console.log('userActive', this.userActive);
|
// console.log('userActive', this.userActive);
|
||||||
|
|
||||||
ris = await Api.SendReq('/products', 'POST', { userId: this.userActive._id })
|
ris = await Api.SendReq('/products', 'POST', { userId: this.userActive._id })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
@@ -1665,22 +1665,27 @@ export const useProducts = defineStore('Products', {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getQtyAvailable(myproduct: IProduct): number {
|
getQtyAvailable(myproduct: IProduct): number {
|
||||||
let qty = myproduct.quantityAvailable!;
|
let qty = myproduct.quantityAvailable || 0;
|
||||||
return qty;
|
return qty;
|
||||||
},
|
},
|
||||||
|
|
||||||
getQtyBookableAvailable(myproduct: IProduct): number {
|
getQtyBookableAvailable(myproduct: IProduct): number {
|
||||||
let qty = myproduct.bookableAvailableQty!;
|
let qty = myproduct.bookableAvailableQty || 0;
|
||||||
return qty;
|
return qty;
|
||||||
},
|
},
|
||||||
|
|
||||||
getQtyBloccataAvailable(myproduct: IProduct): number {
|
getQtyBloccataAvailable(myproduct: IProduct): number {
|
||||||
let qty = myproduct.stockBloccatiQty;
|
let qty = myproduct.stockBloccatiQty || 0;
|
||||||
return qty;
|
return qty;
|
||||||
},
|
},
|
||||||
|
|
||||||
getQtyBloccataBookableAvailable(myproduct: IProduct): number {
|
getQtyBloccataBookableAvailable(myproduct: IProduct): number {
|
||||||
let qty = myproduct.bookableGASBloccatiQty;
|
let qty = myproduct.bookableGASBloccatiQty || 0;
|
||||||
|
return qty;
|
||||||
|
},
|
||||||
|
|
||||||
|
getQuantitaPrenotateInAttesa(myproduct: IProduct): number {
|
||||||
|
let qty = myproduct.QuantitaPrenotateInAttesa || 0;
|
||||||
return qty;
|
return qty;
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -1711,7 +1716,7 @@ export const useProducts = defineStore('Products', {
|
|||||||
const canPreOrder =
|
const canPreOrder =
|
||||||
globalStore.site.ecomm?.enablePreOrders &&
|
globalStore.site.ecomm?.enablePreOrders &&
|
||||||
qtyBookableAvailable > 0 &&
|
qtyBookableAvailable > 0 &&
|
||||||
myorder.quantitypreordered + 1 <= maxAllowed;
|
((myorder.quantitypreordered + 1 <= maxAllowed) || maxAllowed === 0);
|
||||||
|
|
||||||
return canOrder || canPreOrder;
|
return canOrder || canPreOrder;
|
||||||
},
|
},
|
||||||
@@ -2211,7 +2216,7 @@ export const useProducts = defineStore('Products', {
|
|||||||
),
|
),
|
||||||
index: productMap.size + 1,
|
index: productMap.size + 1,
|
||||||
idProduct: productId,
|
idProduct: productId,
|
||||||
code: item.order.product?.productInfo.code,
|
code: item.order.product?.productInfo?.code,
|
||||||
codice_interno: item.order.product?.productInfo?.codice ?? '',
|
codice_interno: item.order.product?.productInfo?.codice ?? '',
|
||||||
qty: qtyparz,
|
qty: qtyparz,
|
||||||
singlePrice: item.order.price,
|
singlePrice: item.order.price,
|
||||||
|
|||||||
@@ -1682,7 +1682,8 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
|||||||
return Api.SendReq('/chval', 'PATCH', { data: mydata })
|
return Api.SendReq('/chval', 'PATCH', { data: mydata })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res) {
|
if (res) {
|
||||||
if (mydata.aggiornainmem) this.UpdateValuesInMemory(mydata);
|
// if (mydata.aggiornainmem) this.UpdateValuesInMemory(mydata);
|
||||||
|
this.UpdateValuesInMemory(mydata);
|
||||||
return res.data.code === serv_constants.RIS_CODE_OK;
|
return res.data.code === serv_constants.RIS_CODE_OK;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export default defineComponent({
|
|||||||
required: true,
|
required: true,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: 'Nome Prodotto',
|
label: 'Nome Prodotto',
|
||||||
field: 'nameSurname',
|
field: 'productInfo.name',
|
||||||
sortable: true
|
sortable: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<q-page>
|
<q-page>
|
||||||
<CTitleBanner title="Ordini"></CTitleBanner>
|
<CTitleBanner title="Ordini"></CTitleBanner>
|
||||||
<q-spinner v-if="!endload" color="primary" size="3em" :thickness="2" />
|
<q-spinner
|
||||||
|
v-if="!endload"
|
||||||
|
color="primary"
|
||||||
|
size="3em"
|
||||||
|
:thickness="2"
|
||||||
|
/>
|
||||||
|
|
||||||
<div class="q-gutter-md text-center">
|
<div class="q-gutter-md text-center">
|
||||||
<q-btn-toggle
|
<q-btn-toggle
|
||||||
@@ -18,27 +23,39 @@
|
|||||||
>
|
>
|
||||||
<template v-slot:tutti>
|
<template v-slot:tutti>
|
||||||
<div class="row items-center no-wrap">
|
<div class="row items-center no-wrap">
|
||||||
<div class="text-center">{{ t("gas.tutti") }}</div>
|
<div class="text-center">{{ t('gas.tutti') }}</div>
|
||||||
<q-icon right name="fas fa-user-friends" />
|
<q-icon
|
||||||
|
right
|
||||||
|
name="fas fa-user-friends"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:gas>
|
<template v-slot:gas>
|
||||||
<div class="row items-center no-wrap">
|
<div class="row items-center no-wrap">
|
||||||
<div class="text-center">{{ t("gas.ordina_sul_gas") }}</div>
|
<div class="text-center">{{ t('gas.ordina_sul_gas') }}</div>
|
||||||
<q-icon right name="fas fa-user-friends" />
|
<q-icon
|
||||||
|
right
|
||||||
|
name="fas fa-user-friends"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-slot:bottega>
|
<template v-slot:bottega>
|
||||||
<div class="row items-center no-wrap">
|
<div class="row items-center no-wrap">
|
||||||
<div class="text-center">{{ t("gas.bottega") }}</div>
|
<div class="text-center">{{ t('gas.bottega') }}</div>
|
||||||
<q-icon right name="fas fa-store" />
|
<q-icon
|
||||||
|
right
|
||||||
|
name="fas fa-store"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</q-btn-toggle>
|
</q-btn-toggle>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="endload" class="row">
|
<div
|
||||||
|
v-if="endload"
|
||||||
|
class="row"
|
||||||
|
>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<q-toggle
|
<q-toggle
|
||||||
v-if="tools.isManager()"
|
v-if="tools.isManager()"
|
||||||
@@ -104,7 +121,10 @@
|
|||||||
inline-label
|
inline-label
|
||||||
class="text-blue"
|
class="text-blue"
|
||||||
>
|
>
|
||||||
<span v-for="(page, index) of shared_consts.OrderPages" :key="index">
|
<span
|
||||||
|
v-for="(page, index) of shared_consts.OrderPages"
|
||||||
|
:key="index"
|
||||||
|
>
|
||||||
<q-tab
|
<q-tab
|
||||||
:class="page.color"
|
:class="page.color"
|
||||||
:name="page.value"
|
:name="page.value"
|
||||||
@@ -121,7 +141,10 @@
|
|||||||
inline-label
|
inline-label
|
||||||
class="text-blue"
|
class="text-blue"
|
||||||
>
|
>
|
||||||
<span v-for="(stat, index) of shared_consts.OrderStat" :key="index">
|
<span
|
||||||
|
v-for="(stat, index) of shared_consts.OrderStat"
|
||||||
|
:key="index"
|
||||||
|
>
|
||||||
<q-tab
|
<q-tab
|
||||||
v-if="arrnumstatus[stat.value] > 0"
|
v-if="arrnumstatus[stat.value] > 0"
|
||||||
:class="stat.color"
|
:class="stat.color"
|
||||||
@@ -144,11 +167,17 @@
|
|||||||
:virtual-scroll="false"
|
:virtual-scroll="false"
|
||||||
class="table-container"
|
class="table-container"
|
||||||
>
|
>
|
||||||
<template v-if="$q.screen.lt.sm" v-slot:item="props">
|
<template
|
||||||
|
v-if="$q.screen.lt.sm"
|
||||||
|
v-slot:item="props"
|
||||||
|
>
|
||||||
<div class="q-pa-xs col-xs-12 col-sm-6 col-md-4">
|
<div class="q-pa-xs col-xs-12 col-sm-6 col-md-4">
|
||||||
<q-card class="my-card-shadow yes_shadow">
|
<q-card class="my-card-shadow yes_shadow">
|
||||||
<q-list dense>
|
<q-list dense>
|
||||||
<q-item v-for="col in getCols(props)" :key="col.name">
|
<q-item
|
||||||
|
v-for="col in getCols(props)"
|
||||||
|
:key="col.name"
|
||||||
|
>
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-item-label>{{ col.label }}</q-item-label>
|
<q-item-label>{{ col.label }}</q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
@@ -158,22 +187,29 @@
|
|||||||
caption
|
caption
|
||||||
>{{ tools.getstrDateTime(col.value) }}</q-item-label
|
>{{ tools.getstrDateTime(col.value) }}</q-item-label
|
||||||
>
|
>
|
||||||
|
<q-item-label
|
||||||
|
v-else-if="col.name === 'productInfo.name'"
|
||||||
|
caption
|
||||||
|
>
|
||||||
|
<span v-if="props.row.productInfo">
|
||||||
|
<span>{{ props.row.productInfo.name }}</span>
|
||||||
|
</span>
|
||||||
|
</q-item-label>
|
||||||
<q-item-label
|
<q-item-label
|
||||||
v-else-if="col.name === 'nameSurname'"
|
v-else-if="col.name === 'nameSurname'"
|
||||||
caption
|
caption
|
||||||
>
|
>
|
||||||
<span v-if="props.row.user">
|
<span v-if="props.row.user">
|
||||||
<span
|
<span
|
||||||
:class="
|
:class="props.row.user.name !== 'TOTALI' ? '' : 'totali'"
|
||||||
props.row.user.name !== 'TOTALI' ? '' : 'totali'
|
>{{ tools.getNomeUtenteByRecUser(props.row.user) }}</span
|
||||||
"
|
|
||||||
>{{
|
|
||||||
tools.getNomeUtenteByRecUser(props.row.user)
|
|
||||||
}}</span
|
|
||||||
>
|
>
|
||||||
</span>
|
</span>
|
||||||
</q-item-label>
|
</q-item-label>
|
||||||
<q-item-label v-else-if="col.name === 'items'" caption>
|
<q-item-label
|
||||||
|
v-else-if="col.name === 'items'"
|
||||||
|
caption
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
v-for="(item, index) of props.row.items"
|
v-for="(item, index) of props.row.items"
|
||||||
:key="index"
|
:key="index"
|
||||||
@@ -190,13 +226,9 @@
|
|||||||
"
|
"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
v-html="
|
v-html="productStore.getStrInfoOrder(t, item.order)"
|
||||||
productStore.getStrInfoOrder(t, item.order)
|
|
||||||
"
|
|
||||||
></span>
|
></span>
|
||||||
{{
|
{{ productStore.getQuantityByOrder(t, item.order) }}
|
||||||
productStore.getQuantityByOrder(t, item.order)
|
|
||||||
}}
|
|
||||||
{{ item.order.product.productInfo.name }}
|
{{ item.order.product.productInfo.name }}
|
||||||
<span v-if="mostra_cat"
|
<span v-if="mostra_cat"
|
||||||
>({{
|
>({{
|
||||||
@@ -207,10 +239,8 @@
|
|||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
mostra_codice
|
mostra_codice
|
||||||
? "- [" +
|
? '- [' + item.order.product.productInfo.code + ']'
|
||||||
item.order.product.productInfo.code +
|
: ''
|
||||||
"]"
|
|
||||||
: ""
|
|
||||||
}}
|
}}
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
@@ -250,16 +280,12 @@
|
|||||||
caption
|
caption
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-if="
|
v-if="tools.isManager() && props.row.user.name !== 'TOTALI'"
|
||||||
tools.isManager() &&
|
|
||||||
props.row.user.name !== 'TOTALI'
|
|
||||||
"
|
|
||||||
class="q-pa-sm"
|
class="q-pa-sm"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="
|
v-if="
|
||||||
taborders ===
|
taborders === shared_consts.OrderStat.CONFERMATI.value
|
||||||
shared_consts.OrderStat.CONFERMATI.value
|
|
||||||
"
|
"
|
||||||
size="sm"
|
size="sm"
|
||||||
dense
|
dense
|
||||||
@@ -274,12 +300,14 @@
|
|||||||
"
|
"
|
||||||
></q-btn>
|
></q-btn>
|
||||||
|
|
||||||
<q-btn-dropdown rounded dense label="Azioni">
|
<q-btn-dropdown
|
||||||
|
rounded
|
||||||
|
dense
|
||||||
|
label="Azioni"
|
||||||
|
>
|
||||||
<q-list class="text-primary">
|
<q-list class="text-primary">
|
||||||
<q-item
|
<q-item
|
||||||
v-for="(
|
v-for="(cmd, index) of shared_consts.OrderCmdStr"
|
||||||
cmd, index
|
|
||||||
) of shared_consts.OrderCmdStr"
|
|
||||||
:key="index"
|
:key="index"
|
||||||
clickable
|
clickable
|
||||||
v-close-popup
|
v-close-popup
|
||||||
@@ -318,7 +346,10 @@
|
|||||||
></q-btn>
|
></q-btn>
|
||||||
</div>
|
</div>
|
||||||
</q-item-label>
|
</q-item-label>
|
||||||
<q-item-label v-else caption>
|
<q-item-label
|
||||||
|
v-else
|
||||||
|
caption
|
||||||
|
>
|
||||||
{{ col.value }}
|
{{ col.value }}
|
||||||
</q-item-label>
|
</q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
@@ -327,12 +358,21 @@
|
|||||||
</q-card>
|
</q-card>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else v-slot:body="props">
|
<template
|
||||||
|
v-else
|
||||||
|
v-slot:body="props"
|
||||||
|
>
|
||||||
<q-tr :props="props">
|
<q-tr :props="props">
|
||||||
<q-td key="ind" :props="props">
|
<q-td
|
||||||
|
key="ind"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<div class="q-pa-sm">{{ props.row.ind + 1 }}</div>
|
<div class="q-pa-sm">{{ props.row.ind + 1 }}</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="apri" :props="props">
|
<q-td
|
||||||
|
key="apri"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<div class="q-pa-sm">
|
<div class="q-pa-sm">
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="props.row._id"
|
v-if="props.row._id"
|
||||||
@@ -348,15 +388,16 @@
|
|||||||
></q-btn>
|
></q-btn>
|
||||||
</div>
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="comandi" :props="props">
|
<q-td
|
||||||
|
key="comandi"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
v-if="tools.isManager() && props.row.user.name !== 'TOTALI'"
|
v-if="tools.isManager() && props.row.user.name !== 'TOTALI'"
|
||||||
class="q-pa-sm"
|
class="q-pa-sm"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="
|
v-if="taborders === shared_consts.OrderStat.CONFERMATI.value"
|
||||||
taborders === shared_consts.OrderStat.CONFERMATI.value
|
|
||||||
"
|
|
||||||
size="sm"
|
size="sm"
|
||||||
dense
|
dense
|
||||||
color="green"
|
color="green"
|
||||||
@@ -364,14 +405,15 @@
|
|||||||
class="q-mx-sm"
|
class="q-mx-sm"
|
||||||
:label="t('ecomm.consegna')"
|
:label="t('ecomm.consegna')"
|
||||||
@click="
|
@click="
|
||||||
clickFunz(
|
clickFunz(props.row, shared_consts.OrderStat.DELIVERED.value)
|
||||||
props.row,
|
|
||||||
shared_consts.OrderStat.DELIVERED.value
|
|
||||||
)
|
|
||||||
"
|
"
|
||||||
></q-btn>
|
></q-btn>
|
||||||
|
|
||||||
<q-btn-dropdown rounded dense label="Azioni">
|
<q-btn-dropdown
|
||||||
|
rounded
|
||||||
|
dense
|
||||||
|
label="Azioni"
|
||||||
|
>
|
||||||
<q-list class="text-primary">
|
<q-list class="text-primary">
|
||||||
<q-item
|
<q-item
|
||||||
v-for="(cmd, index) of shared_consts.OrderCmdStr"
|
v-for="(cmd, index) of shared_consts.OrderCmdStr"
|
||||||
@@ -395,33 +437,43 @@
|
|||||||
</q-btn-dropdown>
|
</q-btn-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="numorder" :props="props">
|
<q-td
|
||||||
|
key="numorder"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<span v-if="props.row.numorder"
|
<span v-if="props.row.numorder"
|
||||||
> n. {{ props.row.numorder }}</span
|
> n. {{ props.row.numorder }}</span
|
||||||
>
|
>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="nameSurname" :props="props">
|
<q-td
|
||||||
|
key="nameSurname"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<span v-if="props.row.user">
|
<span v-if="props.row.user">
|
||||||
<span
|
<span :class="props.row.user.name !== 'TOTALI' ? '' : 'totali'">{{
|
||||||
:class="props.row.user.name !== 'TOTALI' ? '' : 'totali'"
|
tools.getNomeUtenteByRecUser(props.row.user)
|
||||||
>{{ tools.getNomeUtenteByRecUser(props.row.user) }}</span
|
}}</span>
|
||||||
>
|
|
||||||
</span>
|
</span>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="created_at" :props="props">
|
<q-td
|
||||||
|
key="created_at"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
{{ tools.getstrDateTime(props.row.created_at) }}
|
{{ tools.getstrDateTime(props.row.created_at) }}
|
||||||
<span
|
<span v-if="taborders === shared_consts.OrderStat.COMPLETATI.value">
|
||||||
v-if="
|
|
||||||
taborders === shared_consts.OrderStat.COMPLETATI.value
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<br />Consegnato il:
|
<br />Consegnato il:
|
||||||
<br />
|
<br />
|
||||||
{{ tools.getstrDateTime(props.row.date_consegnato) }}
|
{{ tools.getstrDateTime(props.row.date_consegnato) }}
|
||||||
</span>
|
</span>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="items" :props="props">
|
<q-td
|
||||||
<div v-for="(item, index) of props.row.items" :key="index">
|
key="items"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
v-for="(item, index) of props.row.items"
|
||||||
|
:key="index"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
v-if="
|
v-if="
|
||||||
!!item.order &&
|
!!item.order &&
|
||||||
@@ -443,64 +495,97 @@
|
|||||||
</span>
|
</span>
|
||||||
{{
|
{{
|
||||||
mostra_codice
|
mostra_codice
|
||||||
? "- [" + item.order.product.productInfo.code + "]"
|
? '- [' + item.order.product.productInfo.code + ']'
|
||||||
: ""
|
: ''
|
||||||
}}
|
}}
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="props.row.note" class="note">
|
<div
|
||||||
|
v-if="props.row.note"
|
||||||
|
class="note"
|
||||||
|
>
|
||||||
Note: {{ props.row.note }}
|
Note: {{ props.row.note }}
|
||||||
</div>
|
</div>
|
||||||
<div v-if="props.row.codice_sconto" class="codice_sconto">
|
<div
|
||||||
|
v-if="props.row.codice_sconto"
|
||||||
|
class="codice_sconto"
|
||||||
|
>
|
||||||
Codice Sconto: {{ props.row.codice_sconto }}
|
Codice Sconto: {{ props.row.codice_sconto }}
|
||||||
</div>
|
</div>
|
||||||
<div v-if="props.row.note_per_gestore" class="note">
|
<div
|
||||||
|
v-if="props.row.note_per_gestore"
|
||||||
|
class="note"
|
||||||
|
>
|
||||||
Note per Gestore: {{ props.row.note_per_gestore }}
|
Note per Gestore: {{ props.row.note_per_gestore }}
|
||||||
</div>
|
</div>
|
||||||
<div v-if="props.row.note_per_admin" class="note">
|
<div
|
||||||
|
v-if="props.row.note_per_admin"
|
||||||
|
class="note"
|
||||||
|
>
|
||||||
Note per Admin: {{ props.row.note_per_admin }}
|
Note per Admin: {{ props.row.note_per_admin }}
|
||||||
</div>
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="totalPrice" :props="props">
|
<q-td
|
||||||
<span
|
key="totalPrice"
|
||||||
:class="props.row.user.name !== 'TOTALI' ? '' : 'totali'"
|
:props="props"
|
||||||
|
>
|
||||||
|
<span :class="props.row.user.name !== 'TOTALI' ? '' : 'totali'"
|
||||||
>{{
|
>{{
|
||||||
getTotaleOrdineByOrdId(props.row._id, storeGasordine, props.row.user.name === 'TOTALI')
|
getTotaleOrdineByOrdId(
|
||||||
|
props.row._id,
|
||||||
|
storeGasordine,
|
||||||
|
props.row.user.name === 'TOTALI'
|
||||||
|
)
|
||||||
}}
|
}}
|
||||||
€</span
|
€</span
|
||||||
>
|
>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="status" :props="props">
|
<q-td
|
||||||
|
key="status"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<span :class="props.row.status">
|
<span :class="props.row.status">
|
||||||
{{ shared_consts.getStatusStr(props.row.status) }}
|
{{ shared_consts.getStatusStr(props.row.status) }}
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
<div v-if="props.row.confermato" class="ordstat">
|
<div
|
||||||
|
v-if="props.row.confermato"
|
||||||
|
class="ordstat"
|
||||||
|
>
|
||||||
{{ tools.getstrDateTime(props.row.date_confermato) }}:
|
{{ tools.getstrDateTime(props.row.date_confermato) }}:
|
||||||
<span class="ordstat confermato">
|
<span class="ordstat confermato">
|
||||||
{{ $t("ecomm.confermato") }}
|
{{ $t('ecomm.confermato') }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="props.row.pagato" class="ordstat">
|
<div
|
||||||
|
v-if="props.row.pagato"
|
||||||
|
class="ordstat"
|
||||||
|
>
|
||||||
{{ tools.getstrDateTime(props.row.date_pagato) }}:
|
{{ tools.getstrDateTime(props.row.date_pagato) }}:
|
||||||
<span class="ordstat">{{ t("ecomm.pagato") }}</span>
|
<span class="ordstat">{{ t('ecomm.pagato') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="props.row.consegnato" class="ordstat">
|
<div
|
||||||
|
v-if="props.row.consegnato"
|
||||||
|
class="ordstat"
|
||||||
|
>
|
||||||
{{ tools.getstrDateTime(props.row.date_consegnato) }}:
|
{{ tools.getstrDateTime(props.row.date_consegnato) }}:
|
||||||
<span class="ordstat">{{ t("ecomm.consegnato") }}</span>
|
<span class="ordstat">{{ t('ecomm.consegnato') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="props.row.preparato" class="ordstat">
|
<div
|
||||||
|
v-if="props.row.preparato"
|
||||||
|
class="ordstat"
|
||||||
|
>
|
||||||
{{ tools.getstrDateTime(props.row.date_preparato) }}:
|
{{ tools.getstrDateTime(props.row.date_preparato) }}:
|
||||||
<span class="ordstat">{{ t("ecomm.preparato") }}</span>
|
<span class="ordstat">{{ t('ecomm.preparato') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="props.row.spedito">
|
<div v-if="props.row.spedito">
|
||||||
{{ tools.getstrDateTime(props.row.date_spedito) }}:
|
{{ tools.getstrDateTime(props.row.date_spedito) }}:
|
||||||
<span class="ordstat">{{ t("ecomm.spedito") }}</span>
|
<span class="ordstat">{{ t('ecomm.spedito') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="props.row.ricevuto">
|
<div v-if="props.row.ricevuto">
|
||||||
{{ tools.getstrDateTime(props.row.date_ricevuto) }}:
|
{{ tools.getstrDateTime(props.row.date_ricevuto) }}:
|
||||||
<span class="ordstat">{{ t("ecomm.ricevuto") }}</span>
|
<span class="ordstat">{{ t('ecomm.ricevuto') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
</q-tr>
|
</q-tr>
|
||||||
@@ -510,10 +595,7 @@
|
|||||||
|
|
||||||
<!-- Ordini IN CORSO -->
|
<!-- Ordini IN CORSO -->
|
||||||
<div
|
<div
|
||||||
v-if="
|
v-if="tools.isManager() && taborders === shared_consts.OrderStat.IN_CORSO.value"
|
||||||
tools.isManager() &&
|
|
||||||
taborders === shared_consts.OrderStat.IN_CORSO.value
|
|
||||||
"
|
|
||||||
class="q-ma-sm q-pa-sm row justify-center"
|
class="q-ma-sm q-pa-sm row justify-center"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
@@ -524,7 +606,10 @@
|
|||||||
></q-btn>
|
></q-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="tools.isManager()" class="q-ma-sm q-pa-sm row">
|
<div
|
||||||
|
v-if="tools.isManager()"
|
||||||
|
class="q-ma-sm q-pa-sm row"
|
||||||
|
>
|
||||||
<q-select
|
<q-select
|
||||||
:behavior="$q.platform.is.ios === true ? 'dialog' : 'menu'"
|
:behavior="$q.platform.is.ios === true ? 'dialog' : 'menu'"
|
||||||
rounded
|
rounded
|
||||||
@@ -587,9 +672,7 @@
|
|||||||
|
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
-->
|
--></div>
|
||||||
|
|
||||||
</div>
|
|
||||||
<div v-else-if="tabpages === shared_consts.OrderPages.LISTA_TOTALI.value">
|
<div v-else-if="tabpages === shared_consts.OrderPages.LISTA_TOTALI.value">
|
||||||
<div class="q-pa-sm">
|
<div class="q-pa-sm">
|
||||||
<q-btn
|
<q-btn
|
||||||
@@ -611,35 +694,55 @@
|
|||||||
>
|
>
|
||||||
<template v-slot:body="props">
|
<template v-slot:body="props">
|
||||||
<q-tr :props="props">
|
<q-tr :props="props">
|
||||||
<q-td key="index" :props="props">
|
<q-td
|
||||||
|
key="index"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<div class="q-pa-sm">{{ props.row.index }}</div>
|
<div class="q-pa-sm">{{ props.row.index }}</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="code" :props="props">
|
<q-td
|
||||||
|
key="code"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<div class="q-pa-sm">{{ props.row.code }}</div>
|
<div class="q-pa-sm">{{ props.row.code }}</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="codice_interno" :props="props">
|
<q-td
|
||||||
|
key="codice_interno"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<div class="q-pa-sm">{{ props.row.codice_interno }}</div>
|
<div class="q-pa-sm">{{ props.row.codice_interno }}</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="productName" :props="props">
|
<q-td
|
||||||
|
key="productName"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<div class="q-pa-sm">{{ props.row.productName }}</div>
|
<div class="q-pa-sm">{{ props.row.productName }}</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="strSubCatProds" :props="props">
|
<q-td
|
||||||
|
key="strSubCatProds"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<div class="q-pa-sm">
|
<div class="q-pa-sm">
|
||||||
{{ props.row.strSubCatProds }}
|
{{ props.row.strSubCatProds }}
|
||||||
</div>
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="qty" :props="props">
|
<q-td
|
||||||
|
key="qty"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<div class="q-pa-sm">{{ props.row.qty }}</div>
|
<div class="q-pa-sm">{{ props.row.qty }}</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="singlePrice" :props="props">
|
<q-td
|
||||||
<div class="q-pa-sm">
|
key="singlePrice"
|
||||||
{{ props.row.singlePrice.toFixed(2) }} €
|
:props="props"
|
||||||
</div>
|
>
|
||||||
|
<div class="q-pa-sm">{{ props.row.singlePrice.toFixed(2) }} €</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td key="subtotalPrice" :props="props">
|
<q-td
|
||||||
<div class="q-pa-sm">
|
key="subtotalPrice"
|
||||||
{{ props.row.subtotalPrice.toFixed(2) }} €
|
:props="props"
|
||||||
</div>
|
>
|
||||||
|
<div class="q-pa-sm">{{ props.row.subtotalPrice.toFixed(2) }} €</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
</q-tr>
|
</q-tr>
|
||||||
</template>
|
</template>
|
||||||
@@ -649,15 +752,20 @@
|
|||||||
|
|
||||||
<!-- Emails -->
|
<!-- Emails -->
|
||||||
</div>
|
</div>
|
||||||
<CMyDialog v-model="showOrdersCart" title="Ordine">
|
<CMyDialog
|
||||||
<COrdersCart :iscash="false" :idOrdersCart="idOrdersCartToShow" />
|
v-model="showOrdersCart"
|
||||||
|
title="Ordine"
|
||||||
|
>
|
||||||
|
<COrdersCart
|
||||||
|
:iscash="false"
|
||||||
|
:idOrdersCart="idOrdersCartToShow"
|
||||||
|
/>
|
||||||
</CMyDialog>
|
</CMyDialog>
|
||||||
</q-page>
|
</q-page>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" src="./orderInfo.ts">
|
<script lang="ts" src="./orderInfo.ts"></script>
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "./orderInfo";
|
@import './orderInfo';
|
||||||
</style>
|
</style>
|
||||||
|
|||||||