We got a change request to implement a bulk upload of budget expenditures, that would be stored on a ipfs file to be categorized later. To solve this new issue we need to add / implement a medium change on the drawdown.
[x] First wee need to update the data type of files in the table.
[x] Then add CRUD actions for the drawdown table new value.
[x] We need to change file to an extended files version that includes, filename, address and description. The new data type should looks something like this
[x] Change the structure to support multiple files in case a single file exceeds 100 mb
[x] Create a function on base_drawdown called 'edit()'.
[x] Add previous function for the childs as 'edit_impl'.
[x] it would call a new function on base_drawdown called edit() (and edit_impl for the child's)
This function basically would add or delete a file in the files vector on the drawdown table. The flow must be similar to update() because we still managing transactions of budget expenditures, and
[x] only builder can add/delete files (atm)
[x] add validations
[x] Test workflow
[x] Create Unit tests
we still need to define the way of how the transactions would be added on the respective budget expenditure account, but lets not focus on that part yet.
We got a change request to implement a bulk upload of budget expenditures, that would be stored on a ipfs file to be categorized later. To solve this new issue we need to add / implement a medium change on the drawdown.
[x] First wee need to update the data type of files in the table.
[x] Then add CRUD actions for the drawdown table new value.
[x] Update drawdown_table variable url_information -> extended_url_information
[x] We need to change file to an extended files version that includes, filename, address and description. The new data type should looks something like this
[x] Change the structure to support multiple files in case a single file exceeds 100 mb
[x] Create a function on base_drawdown called 'edit()'.
[x] Add previous function for the childs as 'edit_impl'.
[x] it would call a new function on base_drawdown called
edit()
(and edit_impl for the child's) This function basically would add or delete a file in the files vector on the drawdown table. The flow must be similar toupdate()
because we still managing transactions of budget expenditures, and[x] only builder can add/delete files (atm)
[x] add validations
[x] Test workflow
[x] Create Unit tests
we still need to define the way of how the transactions would be added on the respective budget expenditure account, but lets not focus on that part yet.