Reputation: 21
I need to create a custom invoice status for "Disputed" payments.
I found an article that said to just modify the status column in the DB table 'tblinvoices' with the desired status, but doing this doesn't register that as a status in the sense that the invoice PDF would show "DISPUTED" instead of this and the admin view of the invoice looks like this (note the upper right-hand corner where it would normally say the status like PAID, UNPAID, DRAFT, etc. is blank) and the client view of the invoice looks like this (note the upper right-hand corner where it would normally say the status like PAID, UNPAID, DRAFT, etc. is blank) and lastly the invoice list (overall, not on the client page) shows the status as unrecognised as you can see here
Upvotes: 1
Views: 226
Reputation: 11
Things are not displayed properly cuz of lack of language translates. You should add proper translations for newly created status in language files for user and administrator in your WHMCS installation. https://developers.whmcs.com/languages/overrides/
Upvotes: 1