diff --git a/package-lock.json b/package-lock.json index b50afba..75db310 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2217,9 +2217,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.15.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.7.tgz", - "integrity": "sha512-LFmUbFunqmBn26wJZgZPYZPrDR1RwGOu2v79Mgcka1ndO6V0/cwjivPTc4yoK6n9kmw4/ls1r8cLrvh2iMibFA==" + "version": "18.15.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.10.tgz", + "integrity": "sha512-9avDaQJczATcXgfmMAW3MIWArOO7A+m90vuCFLr8AotWf8igO/mRoYukrk2cqZVtv38tHs33retzHEilM7FpeQ==" }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", @@ -3974,9 +3974,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001469", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001469.tgz", - "integrity": "sha512-Rcp7221ScNqQPP3W+lVOYDyjdR6dC+neEQCttoNr5bAyz54AboB4iwpnWgyi8P4YUsPybVzT4LgWiBbI3drL4g==", + "version": "1.0.30001470", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001470.tgz", + "integrity": "sha512-065uNwY6QtHCBOExzbV6m236DDhYCCtPmQUCoQtwkVqzud8v5QPidoMr6CoMkC2nfp6nksjttqWQRRh75LqUmA==", "funding": [ { "type": "opencollective", @@ -5242,9 +5242,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.339", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.339.tgz", - "integrity": "sha512-MSXHBJGcbBydq/DQDlpBeUKnJ6C7aTiNCTRpfDV5Iz0sNr/Ng6RJFloq82AAicp/SrmDq4zF6XsKG0B8Xwn1UQ==" + "version": "1.4.340", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.340.tgz", + "integrity": "sha512-zx8hqumOqltKsv/MF50yvdAlPF9S/4PXbyfzJS6ZGhbddGkRegdwImmfSVqCkEziYzrIGZ/TlrzBND4FysfkDg==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -8299,9 +8299,15 @@ } }, "node_modules/nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "bin": { "nanoid": "bin/nanoid.cjs" }, diff --git a/src/assets/css/app.css b/src/assets/css/app.css index 6cb5970..088a3eb 100644 --- a/src/assets/css/app.css +++ b/src/assets/css/app.css @@ -81,3 +81,6 @@ table tr.at_risk:hover { align-items: center; border-bottom: 1px solid #000; } +.clickable { + cursor:pointer; +} diff --git a/src/router/index.js b/src/router/index.js index dd3ebe1..f063e94 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -59,6 +59,11 @@ const routes = [ name: 'complaintslist', component: ComplaintsList }, + { + path: '/customers/complaints/list/:id', + name: 'complaintslistid', + component: ComplaintsList + }, { path: '/sop/printed', name: 'sopprinted', diff --git a/src/views/complaints/ComplaintsList.vue b/src/views/complaints/ComplaintsList.vue index d8fa2e5..27def12 100644 --- a/src/views/complaints/ComplaintsList.vue +++ b/src/views/complaints/ComplaintsList.vue @@ -5,56 +5,65 @@ - - - - - Add - - - - - - Complaint : {{ item.id }}
- - Complaint Date : {{ item.complaint_date }}
- Sales Order: {{ item.sop.doc_no }}
-
-
- - {{ item.customer.acc_no }} - {{ item.customer.name }}
- Reason : {{ item.reason }}
- Driver : {{ item.driver.name }} -
+ + + + + -
- - - - - View - Edit -
+ Add +
+ + + Showing Active OnlyInactive +
-
-
-
-
-
- - - + + + + + + Complaint : {{ item.id }}
+ + Complaint Date : {{ item.complaint_date }}
+ Sales Order: {{ item.sop.doc_no }}
+
+
+ + {{ item.customer.acc_no }} - {{ item.customer.name }}
+ Reason : {{ item.reason }}
+ Driver : {{ item.driver.name }} +
+ +
+ + + + + View + Edit +
+
+
+
+
+ + + + + + -