-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4426 from mikhailprivalov/toGetherStatisticPatter…
…n_AnyRowsForOneHosp save statistic-model to xlsx
- Loading branch information
Showing
7 changed files
with
177 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from statistic.report import base_data | ||
from statistic.statistic_func import initial_work_book, save_file_disk | ||
|
||
|
||
def data_model_save_to_file(final_result, head_data, sheet_name, permanent_head_data, custom_fields): | ||
wb, ws = initial_work_book(sheet_name) | ||
ws = base_data.fill_default_base(ws, head_data) | ||
ws = base_data.fill_xls_model_statistic_data(ws, final_result, permanent_head_data, custom_fields) | ||
file_dir = save_file_disk(wb) | ||
return file_dir |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters