Show Reference # instead of Check # for ACH payments in modal

This commit is contained in:
Adam Moussa 2026-04-10 18:14:22 -04:00
parent f769ea5872
commit cb07421282

View file

@ -258,7 +258,7 @@ function buildPaymentListBlocks(items) {
blocks.push({
type: "section",
fields: [
{ type: "mrkdwn", text: `*${payee}*\nCheck #${checkNum}` },
{ type: "mrkdwn", text: `*${payee}*\n${p.method === "ACH" ? "Reference" : "Check"} #${checkNum}` },
{ type: "mrkdwn", text: `*${formatCurrency(p.amount_usd)}*\n${dateStr}` },
],
});