hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { client, pageQuery, type PageParams } from "../client"; |
| 2 | import type { PaymentStatement } from "./types"; |
| 3 | |
| 4 | // Statement is not itself a Page envelope: { student, entries: Page, balance_minor }. |
| 5 | export function getMyPaymentStatement( |
| 6 | params?: PageParams, |
| 7 | signal?: AbortSignal, |
| 8 | ): Promise<PaymentStatement> { |
| 9 | return client<PaymentStatement>(`/payments/statement/me${pageQuery(params)}`, { signal }); |
| 10 | } |