fix: payment ledger voucher seperator row currencies

This commit is contained in:
Devin Slauenwhite
2025-08-02 12:29:40 -04:00
parent 97959dbe75
commit c03f1c25cf

View File

@@ -87,7 +87,12 @@ class PaymentLedger:
voucher_data.append(entry)
# empty row
voucher_data.append(frappe._dict())
voucher_data.append(
frappe._dict(
currency=voucher_data[0].currency,
company=voucher_data[0].company,
)
)
self.data.extend(voucher_data)
def build_conditions(self):