mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
add debtor code in company module resource for exchange accounting mapping purpose
This commit is contained in:
@@ -50,6 +50,7 @@ class CompanyModuleResource extends JsonResource
|
||||
'warehouseCharges' => array_key_exists($this->id, $segmentConstant) ? $segmentConstant[$this->id] : null,
|
||||
'connections' => $this->connections,
|
||||
'contact' => new ContactResource ($this->when($this->has('contacts'), $this->contacts->first())),
|
||||
'debtor' => $this->company->debtor,
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user