diff --git a/resources/assets/vue/components/general/forms/ValidationErrorComponent.vue b/resources/assets/vue/components/general/forms/ValidationErrorComponent.vue
index 3c5f6bb0..8780f760 100644
--- a/resources/assets/vue/components/general/forms/ValidationErrorComponent.vue
+++ b/resources/assets/vue/components/general/forms/ValidationErrorComponent.vue
@@ -4,6 +4,7 @@
{{errorMessages[param]}}
{{object.min}} characters
{{object.eq}} field
+ {{object.min}}
@@ -21,7 +22,9 @@
required: 'this field is required',
email: 'enter a valid email address',
minLength: 'this field must have at least',
- sameAs: 'this field must match the'
+ minValue: 'this field must at least be',
+ sameAs: 'this field must match the',
+ numeric: 'this field can only contain numbers'
},
}
},
diff --git a/resources/assets/vue/components/orders/elements/PackageComponent.vue b/resources/assets/vue/components/orders/elements/PackageComponent.vue
new file mode 100644
index 00000000..f9a1da89
--- /dev/null
+++ b/resources/assets/vue/components/orders/elements/PackageComponent.vue
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+
+
+
+
QTY
+
{{item.quantity}}
+
+
+
Description
+
{{item.description}}
+
+
+
+
+
+
+
{{item.width}} CM
+
Width
+
+
+
{{item.quantity}} CM
+
Height
+
+
+
{{item.length}} CM
+
Length
+
+
+
Total CBM
+
{{parseFloat((item.cbm * 100) / 100).toFixed(3)}}
+
+
+
+
+
+
+
+
+
Order Number
+
{{item.order.reference}}
+
+
+
+
+
+ Warehouse
+
{{item.order.warehouse.id === 3 ? 'Guang Zhou' : 'Yiwu'}}
+
+
+ Delivery Address
+
{{item.order.address.reference}}
+
+
+
+
+
+
+
+
+
+
+ Shipping Date
+
{{item.container ? item.container.transport[0].current_schedule.etd : 'n/a'}}
+
+
+
+
+
+
+ Delivery Date
+
{{item.transport ? item.transport.current_schedule.eta : 'n/a'}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/assets/vue/components/orders/elements/ParcelComponent.vue b/resources/assets/vue/components/orders/elements/ParcelComponent.vue
new file mode 100644
index 00000000..6c037efc
--- /dev/null
+++ b/resources/assets/vue/components/orders/elements/ParcelComponent.vue
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
Arrival Date
+
{{item.transport.drop_date}}
+
+
+
Qty
+
{{item.quantity}}
+
+
+
Est. CBM
+
{{((parseFloat(item.cbm) * 1000) / 1000).toFixed(3)}}
+
+
+
+
+
+
+
+
+
+
+
+
{{item.transport.tracking_number}}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/assets/vue/components/orders/sections/OrderProfileSectionComponent.vue b/resources/assets/vue/components/orders/sections/OrderProfileSectionComponent.vue
index a90125ce..84525c41 100644
--- a/resources/assets/vue/components/orders/sections/OrderProfileSectionComponent.vue
+++ b/resources/assets/vue/components/orders/sections/OrderProfileSectionComponent.vue
@@ -95,7 +95,7 @@