This commit is contained in:
Gitea
2022-07-14 16:21:44 +09:00
parent 8245c32224
commit 592a174bb7
15 changed files with 123 additions and 75 deletions

View File

@ -48,3 +48,7 @@ async def get_debts(IDPersonalAccount: int, GetType: bool, db: Session = Depends
@router.post("/get_financial_account", response_model=List[schemas.ReportTOFinancialAccount])
async def get_financial_account(request: schemas.ReportTOFinancialAccountInit, db: Session = Depends(get_db)):
return crud.PersonalAccountViewSet.get_financial_account(db, request)
@router.post('/edit')
async def edit(request: schemas.PersonalAccountDetailsInit, db: Session = Depends(get_db)):
return crud.PersonalAccountViewSet.edit(db, request)