The FlowcodeFinancialBundle brings you a model for basic financial and accounting features.
The source of the documentation is stored in the Resources/doc/
folder
in this bundle:
Read the Documentation for master
To make financeService work properly you have to add this mappings
document -> transaction document -> paymentDocument
Document:
type: entity
oneToMany:
transactions:
targetEntity: Flowcode\FinancialBundle\Entity\Core\Transaction
mappedBy: document
cascade: ["persist"]
paymentsDocuments:
targetEntity: Flowcode\FinancialBundle\Entity\Payment\PaymentDocument
mappedBy: document
cascade: ["persist"]
payment -> paymentDocument
Payment:
type: entity
oneToMany:
paymentDocuments:
targetEntity: Flowcode\FinancialBundle\Entity\Payment\PaymentDocument
mappedBy: payment
cascade: ["persist"]
transaction -> journalEntries
Transaction:
type: entity
oneToMany:
journalEntries:
targetEntity: Flowcode\FinancialBundle\Entity\Core\JournalEntry
mappedBy: transaction
cascade: ["persist"]