Skip to content
Permalink
Browse files

Fix rendering glitch for cancelation invoices

  • Loading branch information...
flack committed Mar 7, 2019
1 parent 3e4f21d commit 122563a5d6b403a02d32f9bd1cd13334b7996545
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/org/openpsa/invoices/handler.php
@@ -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')) {

0 comments on commit 122563a

Please sign in to comment.
You can’t perform that action at this time.