feat: Add new command

This commit is contained in:
2026-06-10 17:01:51 +03:00
parent f9dc59729c
commit dc05528405
5 changed files with 74 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ from src.application.commands import (
SearchPartiesCommand,
SetPurchaseRequestQuoteCommand,
UpdateOrganizationCommand,
UpdatePurchaseRequestCommand,
UpdatePurchaseRequestStatusCommand,
PutOrganizationDocumentCommand,
)
@@ -186,6 +187,13 @@ def get_update_purchase_request_status_command(
return UpdatePurchaseRequestStatusCommand(uow, logger)
def get_update_purchase_request_command(
uow: IUnitOfWork = Depends(get_unit_of_work),
logger: ILogger = Depends(get_logger),
) -> UpdatePurchaseRequestCommand:
return UpdatePurchaseRequestCommand(uow, logger)
def get_set_purchase_request_quote_command(
uow: IUnitOfWork = Depends(get_unit_of_work),
logger: ILogger = Depends(get_logger),