flowcode/financial-bundle

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Basic finances and accounting

0.1.2 2017-03-29 20:06 UTC

This package is not auto-updated.

Last update: 2021-06-18 03:58:42 UTC


README

The FlowcodeFinancialBundle brings you a model for basic financial and accounting features.

Documentation

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"]