event decision book item updated

This commit is contained in:
2024-11-17 21:01:26 +03:00
parent 58ee49a1fc
commit ac20226aa1
2 changed files with 103 additions and 56 deletions

View File

@@ -77,9 +77,10 @@ def collect_invitation_to_building_residents(
def create_decision_book_items_with_occupant_user(
requester,
writers_token: str,
unit_price: float,
is_fixed: bool,
item_comment: str,
info_type_uu_id: str,
is_fixed: bool = False,
unit_price: float = None,
start_date: str = None,
end_date: str = None,
):
@@ -87,7 +88,7 @@ def create_decision_book_items_with_occupant_user(
list_of_items = [
decision_book_items_dict(
token=writers_token,
item_comment="This is an item debit for test purposes",
item_comment=item_comment,
info_type_uu_id=info_type_uu_id,
unit_price=unit_price,
is_fixed=is_fixed,
@@ -103,10 +104,11 @@ def create_decision_book_items_with_occupant_user(
def run_decision_book_items(
writers_token,
unit_price,
info_type_uu_id,
is_fixed,
item_comment,
requester,
is_fixed=None,
unit_price=None,
start_date=None,
end_date=None,
):