@@ -203,6 +203,10 @@
type: {
type: Number,
default: 2
+ },
+ einvoiceAddress: {
+ type: Object,
+ default: null
}
},
data() {
@@ -224,7 +228,7 @@
receive_goods_on_saturday: false,
}
- }
+ }
},
created(){
if(this.data){
@@ -242,6 +246,13 @@
this.parameters.receive_goods_after_hours = this.data.receive_goods_after_hours ? this.data.receive_goods_after_hours : false;
this.parameters.receive_goods_on_saturday = this.data.receive_goods_on_saturday ? this.data.receive_goods_on_saturday : false;
}
+
+ if(this.einvoiceAddress){
+ this.parameters.street_one = this.einvoiceAddress.street_one;
+ this.parameters.street_two = this.einvoiceAddress.street_two;
+ this.parameters.district_id = this.einvoiceAddress.district.id;
+ this.parameters.post_code = this.einvoiceAddress.post_code;
+ }
},
watch: {
'id': function () {
diff --git a/resources/assets/vue/components/paymentsBilling/elements/SingleAdminPaymentsBillingWithoutStorageComponent.vue b/resources/assets/vue/components/paymentsBilling/elements/SingleAdminPaymentsBillingWithoutStorageComponent.vue
index 892b849c..3b9aafab 100644
--- a/resources/assets/vue/components/paymentsBilling/elements/SingleAdminPaymentsBillingWithoutStorageComponent.vue
+++ b/resources/assets/vue/components/paymentsBilling/elements/SingleAdminPaymentsBillingWithoutStorageComponent.vue
@@ -83,7 +83,12 @@
Add Billing Address
-
+
+