fix bug
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -380,6 +380,7 @@ class BSWorkbook(Workbook): | ... | @@ -380,6 +380,7 @@ class BSWorkbook(Workbook): |
380 | if borrow_cell_value in consts.BORROW_OUTLAY_SET: | 380 | if borrow_cell_value in consts.BORROW_OUTLAY_SET: |
381 | amount_cell.value = -amount_cell.value | 381 | amount_cell.value = -amount_cell.value |
382 | amount_cell.number_format = numbers.FORMAT_NUMBER_00 | 382 | amount_cell.number_format = numbers.FORMAT_NUMBER_00 |
383 | if date_cell is not None: | ||
383 | same_amount_mapping = amount_mapping.get(date_cell.value, {}) | 384 | same_amount_mapping = amount_mapping.get(date_cell.value, {}) |
384 | fill_rows = same_amount_mapping.get(-amount_cell.value) | 385 | fill_rows = same_amount_mapping.get(-amount_cell.value) |
385 | if fill_rows: | 386 | if fill_rows: | ... | ... |
-
Please register or sign in to post a comment