fixed reasons in complaints
This commit is contained in:
parent
33176f1756
commit
5827002154
2 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
||||||
{{ formatDate(complaint.complaint_date,"DD/MM/YYYY") }}
|
{{ formatDate(complaint.complaint_date,"DD/MM/YYYY") }}
|
||||||
</v-card-subtitle>
|
</v-card-subtitle>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
Reason: {{ complaint.reason }}<br/>
|
Reason: {{ complaint.reason.reason }}<br/>
|
||||||
Driver: {{ complaint.driver.name }}<br/>
|
Driver: {{ complaint.driver.name }}<br/>
|
||||||
Delivery Date {{ formatDate(complaint.delivery_date,"DD/MM/YYYY") }}<br/>
|
Delivery Date {{ formatDate(complaint.delivery_date,"DD/MM/YYYY") }}<br/>
|
||||||
Order : {{ complaint.sop.doc_no }}<br/>
|
Order : {{ complaint.sop.doc_no }}<br/>
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="4" class="text-body-2">
|
<v-col cols="4" class="text-body-2">
|
||||||
{{ item.customer.acc_no }} - {{ item.customer.name }}<br/>
|
{{ item.customer.acc_no }} - {{ item.customer.name }}<br/>
|
||||||
Reason : {{ item.reason }}<br/>
|
Reason : {{ item.reason.reason }}<br/>
|
||||||
Driver : {{ item.driver.name }}
|
Driver : {{ item.driver.name }}
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols=4>
|
<v-col cols=4>
|
||||||
|
@ -105,7 +105,7 @@ export default {
|
||||||
q.customer.name.toLowerCase().includes(query) ||
|
q.customer.name.toLowerCase().includes(query) ||
|
||||||
q.customer.acc_no.includes(query) ||
|
q.customer.acc_no.includes(query) ||
|
||||||
q.id == query ||
|
q.id == query ||
|
||||||
q.reason.toLowerCase().includes(query)
|
q.reason.reason.toLowerCase().includes(query)
|
||||||
)
|
)
|
||||||
if (this.showActive) {
|
if (this.showActive) {
|
||||||
clist = clist.filter(q =>
|
clist = clist.filter(q =>
|
||||||
|
|
Loading…
Reference in a new issue