forked from hesabix/arc
655 B
655 B
| doc_id | title | tags | version | example_id | |||
|---|---|---|---|---|---|---|---|
| hscript.recipe.banks-balance | مانده حسابهای بانکی |
|
1 | ex_banks_balance |
دستورپخت: مانده بانکها
report.calendar("jalali")
report.number_format(style="western")
report.title("مانده حسابهای بانکی")
rows = banks.all(limit=50)
report.kpi("تعداد حساب", rows.count(), format="integer", span=6)
report.kpi("جمع مانده", rows.sum("balance"), format="currency", span=6)
report.row_break()
report.table(rows, columns=["code", "name", "branch", "balance"], formats={"balance": "currency"}, span=12)