Skip to content

Commit

Permalink
Fix rendering glitch for cancelation invoices
Browse files Browse the repository at this point in the history
  • Loading branch information
flack committed Mar 7, 2019
1 parent 3e4f21d commit 122563a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/org/openpsa/invoices/handler.php
Expand Up @@ -15,7 +15,7 @@ trait org_openpsa_invoices_handler
{
public function render_invoice_actions(org_openpsa_invoices_invoice_dba $invoice)
{
if ($invoice->paid && $invoice->sent) {
if ($invoice->paid) {
return strftime('%Y-%m-%d', $invoice->paid);
}
if (!$invoice->can_do('midgard:update')) {
Expand Down

0 comments on commit 122563a

Please sign in to comment.