Skip to content

Worker insert companies and receipts successfully

Compare
Choose a tag to compare
@FranciscoThiesen FranciscoThiesen released this 25 Apr 12:48
· 73 commits to master since this release
Connect to dashboard (#4)

* Stopping DataStore.py from creating the database

* Changing return type for a initialization function of DataStore.py

* Reverting changes

* Reverting DataStore.py version

* Implementation of bd_insert_company on DataStore.py

* Calling function for registering new companies

* Fixing simple typo

* Fixing the number of values inserted on company table

* Adding debug statement

* Swapping order of debugging statements

* Fixing company json parsing

* Small fix on json parsing

* Signaling SDEC code with comments

* Fail proof when getting values from the enterprise

* Print nota_fiscal complete structure so as to allow structure analysis

* Adding another print for debugging purposes

* Adding more print statements

* Debugging

* Debugging

* Fixing typo

* Clean up the code

* Adding function for nota_fisccal insertion on our database

* Troubleshooting

* Fixing nota_fiscal data parsing

* Casting parameters on data_store bd_insert_receipt function

* Fixing nota_fiscal insertion command

* Adding more casts to nota_fiscal data

* Fixing typo

* Print Note

* fixing exigibilidadeISS naming

* Fixing demon?

* FIxing demons??

* TxID as Primary Key

* Passing item_txid ahead

* Adding receipt_validator function

* Adding weak_receipt_validator

* Fixing type

* Fixing variable name

* Fixing another typo

* Adding endereco_blockchain for companies

* Troubleshooting

* Small fix

* Adding cast for endereco_blockchain

* Fixing validator of receipts

* Comparing floats with tolerance

* Fixing small typo

* Small fix + adding debug statements

* print txid

* Fixing a few things

* fix typo

* removing break line

* missing colon

* Missing Emissor

* Fixing emissor reference

* Removing printf's to merge

* Adding print statement for analysis of transaction format

* Insering the logic related to filling streams database table

* Fixing indentation

* Fixing Indentation 2

* Fixing SQL insertion command

* Fixing typo

* Replacing a field name on stream insertion

* Update Mce/DataStore.py