Skip to content

Commit

Permalink
Merge pull request #24113 from eileenmcnaughton/inv_close
Browse files Browse the repository at this point in the history
Whitespace cleanup  in invoice template
  • Loading branch information
seamuslee001 authored Aug 2, 2022
2 parents 839f05a + 44a3661 commit d20d718
Show file tree
Hide file tree
Showing 2 changed files with 327 additions and 347 deletions.
4 changes: 2 additions & 2 deletions tests/phpunit/CRM/Contribute/Form/Task/InvoiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function testInvoiceForDueDate(): void {
$this->assertStringContainsString('PAYMENT ADVICE', $invoiceHTML[$contribution['id']]);

$this->assertStringContainsString('AMOUNT DUE:</font></b></td>
<td style="text-align:right;"><b><font size="1">$92.00</font></b></td>', $invoiceHTML[$contribution3['id']]);
<td style="text-align:right;"><b><font size="1">$92.00</font></b></td>', $invoiceHTML[$contribution3['id']]);
}

/**
Expand Down Expand Up @@ -178,7 +178,7 @@ public function testInvoiceForLineItems(): void {

$totalAmount = $this->formatMoneyInput($order['values'][$order['id']]['total_amount']);
$this->assertStringContainsString("TOTAL USD</font></b></td>
<td style=\"text-align:right;\"><font size=\"1\">$" . $totalAmount . '</font>', $invoiceHTML);
<td style=\"text-align:right;\"><font size=\"1\">$" . $totalAmount . '</font>', $invoiceHTML);

}

Expand Down
Loading

0 comments on commit d20d718

Please sign in to comment.