chore: import MCTF services

- Added all seven issued service trees without omissions.
- Preserved the supplied runtime configuration, binaries, and assets.
This commit is contained in:
TakuyaYagam1 committed 2026-11-29 12:25:29 +03:00
commit 13f936bee9
1222 files changed
+21280

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
from fastapi import APIRouter
from backend.app.db import operations
from backend.app.api.schemas import ReceiptOpen
router = APIRouter(prefix="/api/receipts", tags=["receipts"])
@router.get("")
async def receipts():
return await operations.receipts()
@router.post("/{receipt_id}/open")
async def receipt_open(receipt_id: int, body: ReceiptOpen):
return await operations.open_receipt(receipt_id, body.calculation_id)