flowcode/financial-bundle

Basic finances and accounting

0.1.2 2017-03-29 20:06 UTC

This package is not auto-updated.

Last update: 2024-04-19 17:49:50 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"]