Skip to content

Commit

Permalink
fix(cc-invoice-table): "WONTPAY" is part of pending invoices
Browse files Browse the repository at this point in the history
"WONTPAY" means we stopped going after a customer to get it paid.
It should be displayed as "pending" in the invoice table.
  • Loading branch information
judu authored and florian-sanders-cc committed Jan 9, 2023
1 parent b1aab9d commit af244ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cc-invoice-table/cc-invoice-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { ccLink, linkStyles } from '../../templates/cc-link/cc-link.js';
const fileSvg = new URL('../../assets/file.svg', import.meta.url).href;

// TODO: Move to clever-client
export const PENDING_STATUSES = ['PENDING', 'PAYMENTHELD'];
export const PENDING_STATUSES = ['PENDING', 'PAYMENTHELD', 'WONTPAY'];
export const PROCESSING_STATUS = 'PROCESSING';
export const PROCESSED_STATUSES = ['PAID', 'CANCELED', 'REFUNDED'];

Expand Down

0 comments on commit af244ed

Please sign in to comment.