Skip to content

Releases: aryelgois/bank-interchange

v0.2.0

02 Jun 01:24
Compare
Choose a tag to compare

Added

  • Year 2018 in LICENSE
  • README:
    • Repository title
    • Index
    • Setup
  • Changelog
  • Documentation
  • Dependencies:
  • Composer scripts:
  • Config files:
    • Builder config for aryelgois/yasql-php
    • Return file parser options for Banco do Nordeste's CNAB400 schema
    • Router config
  • Database:
    • Tables:
      • assignments
      • currency_codes
      • document_kinds
      • shipping_file_movements
    • Columns:
      • currency_codes.billet
      • assignments.document_kind
      • titles.accept
      • assignments.cnab
      • titles.doc_number
      • titles.interest_*
      • assignments.agency_account_cd
      • titles.tax_included
      • titles.shipping_file
      • titles.movement
      • shipping_files.notes
      • titles.emission
      • titles.protest_*
      • titles.occurrence_*
    • Index keys for assignment and client in titles
    • Populate wallets for Banco do Nordeste
    • SQL Programs
    • Authentication database
  • Namespace aryelgois\BankInterchange\ReturnFile
  • Namespace aryelgois\BankInterchange\FilePack
  • BankBillet:
    • Generic table layouts
    • Can generate a .zip with multiple bank billets
    • View::updateDictionary()
    • Simple template syntax
      • Allows dynamic access to any data in the view
      • Supported by: demonstrative, instructions, header_info
  • Models:
    • ShippingFile::getTitles()
    • Title::getCurrencyCode()
    • Mode nomask in Currency::format()
    • Person model extending \aryelgois\Medools\Models\Person
    • Title::getActualValue()
  • ShippingFile:
    • View::TITLE_LIMIT
    • Bank specific views
    • View::date()
    • Optional 'R' segment in CNAB240
    • Movement masks
  • Utils:
    • addExtension()
    • cleanSpaces()
    • toPascalCase()
  • public/

Changed

  • Update README
  • Update dependencies
  • Database:
    • Convert to YASQL
    • Split assignors into assignors and assignments
    • Rename payers to clients and bound them to assignors
    • Replace assignor column with assignment in titles
    • Split currencies into currencies and currency_codes
    • Rename tax column to billet_tax
    • Rename iof column to ioc_iof
    • Use document_kinds in titles
    • Split discount columns into multiple discounts
    • Change assignors PRIMARY KEY to person
    • Move address column from assignors to assignments
    • Rename billet_tax column in titles to tax_value
    • Title fine_type, interest_type and discount*_type are tinyint have
      default value
  • Config files:
    • ReturnFile:
      • Rewrite configs in YAML
      • Split parser config into individual files
      • Improve patterns
      • Rename some fields
      • Improve Parser
    • Update aryelgois/Medools config file
  • Assignor and Payer names in BankBillet fields
  • Update populate wallets
  • Move BankBillet classes to its own namespace
  • Invert default parameter value for some methods in BankBillet view
  • Use bank name in PascalCase to select the BankBillet view
  • Allow multiple paths to be searched for logos
  • Use model id to select logo file
  • Replace $dictionary with $fields
  • Rename $billet to $data
  • Replace drawTableRow() and drawTableColumn() with drawRow()
  • Rewrite BankBillet Controller
  • Move ShippingFile classes to its own namespace
  • Rewrite ShippingFile Controller
  • Rewrite ShippingFile View
  • Move resource files to assets directory
  • Replace SPECIE_DOC with title's kind
  • Rewrite ShippingFile Cnab* views
  • BankBillet and ShippingFile Controllers and Views use FilePack
  • Convert billet data to YAML
  • Use class keyword in foreign classes

Removed

  • Accidentally committed lines
  • Alias 'BankI' for aryelgois\BankInterchange
  • BankBillet\View::beforeDraw()
  • Example of assignor logos
  • Column titles.doc_type
  • Table shipping_file_titles
  • Title::setOurNumber()
  • Old ReturnFile model
  • Columns titles.status and shipping_files.status
  • ReturnFile Controller
  • Utils::padAlfa()
  • Old example

Fixed

  • Shipping File counter: using id is inconsistent when generating shipping
    files for more than one assignor
  • Cnab240 View: wrong registry type in 'Q' segment and wrong registry count
  • Our Number check digit for Banco do Nordeste has a different length and base
  • Currency code for different banks and CNABs
  • Remove EOF character 0x1A in ShippingFile View
  • Rename B. do Nordeste to Banco do Nordeste
  • BankBillet views
  • Rename formated to formatted
  • Comparison operators
  • Database populate collation

v0.1

28 Nov 02:13
Compare
Choose a tag to compare
v0.1 Pre-release
Pre-release

Added

Changed

  • Rename project from cnab240 to bank-interchange
  • Bump aryelgois/utils version
  • Example from a moderate complex twig to a simpler HTML + JavaScript
  • Code and logic mostly rewritten

Removed

  • Obsolete dependency aryelgois/objects
  • Dev dependency twig/twig

Fixed

  • README