11 lines
306 B
Python
11 lines
306 B
Python
|
|
"""Wallet tab: read-only inventory (payment methods + add row)."""
|
||
|
|
from hatch_menu import dialog
|
||
|
|
|
||
|
|
TAB = "Wallet"
|
||
|
|
|
||
|
|
|
||
|
|
def describe(ws):
|
||
|
|
"""Row inventory + text excerpt (describe-only for now)."""
|
||
|
|
return {"rows": dialog.describe_rows(ws, TAB),
|
||
|
|
"text": (dialog.dialog_text(ws) or "")[:400]}
|