Added in importing Supplier CSV

This commit is contained in:
Finn 2019-07-05 15:30:31 +01:00
parent c9fce1c887
commit c814085630
17 changed files with 4696 additions and 23 deletions

View file

@ -113,10 +113,16 @@ __PACKAGE__->belongs_to(
__PACKAGE__->belongs_to(
"social_type",
"Pear::LocalLoop::Schema::Result::OrganisationType",
"Pear::LocalLoop::Schema::Result::OrganisationSocialType",
"social_type_id",
);
__PACKAGE__->has_many(
"external_reference",
"Pear::LocalLoop::Schema::Result::OrganisationExternal",
{ 'foreign.org_id' => 'self.id' },
);
__PACKAGE__->has_many(
"payroll",
"Pear::LocalLoop::Schema::Result::OrganisationPayroll",