Nafies Luthfi
ff2166e1c9
Fix some scripts on report pages
8 years ago
Nafies Luthfi
be3c52d649
Add morph relation of partner to Payment model
Add partner_type on payments table
Set grouped partner list on payment entry form
Payment can have User model as partner
Payment can have Vendor model as partner
Payment can have Customer model as partner
8 years ago
Nafies Luthfi
990dc3930f
Change Partner entity back to Customer entity
8 years ago
Nafies Luthfi
e40e53e42b
Add agency has many projects relation
Add global scope for payment by owner agency projects
Remove owner_id column on payments table
8 years ago
Nafies Luthfi
bd0e47060c
Change customer model to partner
8 years ago
Nafies Luthfi
273520de5b
Remove vendor entity
8 years ago
Nafies Luthfi
b3172d303d
Return payment customer relation
8 years ago
Nafies Luthfi
dc24e0facb
Change customer_id to partner_id in payments table, pass all tests
8 years ago
Nafies Luthfi
cb781b6095
Add partner relation to payment model
8 years ago