aggiornamento...
This commit is contained in:
@@ -407,6 +407,50 @@ module.exports = {
|
||||
CANCELLATI: { label: 'Cancellati', value: 10, icon: 'delete', color: 'text-red' }, //CANCELED
|
||||
},
|
||||
|
||||
OrderStatusStr: [
|
||||
{
|
||||
label: 'Nessuno',
|
||||
value: 0,
|
||||
},
|
||||
{
|
||||
label: 'In Carrello',
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
label: 'Ordine in Lavorazione',
|
||||
value: 2,
|
||||
},
|
||||
{
|
||||
label: 'Ordine Confermato',
|
||||
value: 3,
|
||||
},
|
||||
{
|
||||
label: 'Pagato',
|
||||
value: 4,
|
||||
},
|
||||
{
|
||||
label: 'Consegnato',
|
||||
value: 5,
|
||||
},
|
||||
{
|
||||
label: 'Spedito',
|
||||
value: 6,
|
||||
},
|
||||
{
|
||||
label: 'Ricevuto',
|
||||
value: 7,
|
||||
},
|
||||
{
|
||||
label: 'Completato',
|
||||
value: 8,
|
||||
},
|
||||
{
|
||||
label: 'Cancellato',
|
||||
value: 10,
|
||||
},
|
||||
|
||||
],
|
||||
|
||||
OrderStatusView: {
|
||||
CHECKOUT_SENT: 2,
|
||||
ORDER_CONFIRMED: 3,
|
||||
@@ -864,5 +908,9 @@ module.exports = {
|
||||
|
||||
return ''
|
||||
},
|
||||
getStatusStr(status) {
|
||||
const trovatorec = this.OrderStatusStr.find((rec) => rec.value === status)
|
||||
return (trovatorec) ? trovatorec.label : ''
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user