large commit

This commit is contained in:
Omair Saleh
2019-10-08 11:17:46 +08:00
parent cd912f8005
commit fc7bbe686d
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ class AddressBook extends JsonResource
{
return [
'id' => $this->id,
'company_id' => $this->company_id,
'type' => $this->type,
'company_id' => $this->reference_id,
'reference' => $this->reference,
'contact' => $this->contact,
'street_one' => $this->street_one,
@@ -82,7 +82,6 @@
if(this.data !== null){
this.isEdit = true;
this.addressBook = this.data;
console.log(this.addressBook);
} else {
this.addressBook.company_id = this.company_id;
}