Work in progress CNAB file writer based on QuilhaSoft/OpenCnabPHP.
All my thanks to every contributor to OpenCnabPHP
project.
TODO: better this repository README.
Código Python para Gerar arquivos CNAB
Work in progress CNAB file writer based on QuilhaSoft/OpenCnabPHP.
All my thanks to every contributor to OpenCnabPHP
project.
TODO: better this repository README.
Unify the cep
and cep_sufixo
fields
To prevent this code at field __init__
:
self.validators = []
if self.required:
self.validators += [validators.validate_required]
if self.validation == CNABFieldType.Int:
self.validators += [validators.validate_integer]
self.formatter = formatter.format_integer
if self.validation == CNABFieldType.Decimal:
self.validators += [validators.validate_decimal]
self.formatter = formatter.format_decimal
if self.validation == CNABFieldType.Alfa:
self.formatter = formatter.format_alfa
if self.validation == CNABFieldType.Alfa2:
self.formatter = formatter.format_alfa2
if self.validation == CNABFieldType.Date:
self.validators += [validators.validate_date]
self.formatter = formatter.format_date
if self.validation == CNABFieldType.Time:
self.validators += [validators.validate_date]
self.formatter = formatter.format_time
this should be used to creation data and other related fields
Create a context to pass to call this
After #24
After #24
especie_titulo=1,#"DM", # informar dm e sera convertido para codigo em qualquer laytou conferir em especie.php
When finished #1
We have registro.py
with class Registro
that inherits from RegistroBase
(The RegistroBase
contains the fields reading logic on __new__
and is a base for remessa and retorno registers) and we have registro_remessa.py
with RegistroRemessa
that inherits from Registro
and contains get_text()
method.
The registro.py
should be removed and all the code from it should be added on registro_remessa.py
.
Finally, the registro_remessa.py
should be renamed to registro.py
and should be moved to a folder with remessa
name.
|- base
|- remessa
|- CNAB240
|- __init__.py
|- registro0.py
...
|- CNAB400
|- __init__.py
|- registro0.py
...
|- __init__.py
|- registro.py
|- remessa.py
|- retorno
|- CNAB240
|- __init__.py
|- registro0.py
...
|- CNAB400
|- __init__.py
|- registro0.py
...
|- __init__.py
|- exceptions.py
|- retorno.py
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.