Skip to content

Commit

Permalink
Merge pull request #9822 from vincent1892/4.6
Browse files Browse the repository at this point in the history
CRM-21220 - Tidy duedate format for invoice
  • Loading branch information
eileenmcnaughton authored Sep 24, 2017
2 parents cd5f2a0 + 7c91276 commit f677d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contribute/Form/Task/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public static function printPDF($contribIDs, &$params, $contactIds, &$form) {
//to obtain due date for PDF invoice
$contributionReceiveDate = date('F j,Y', strtotime(date($input['receive_date'])));
$invoiceDate = date("F j, Y");
$dueDate = date('F j ,Y', strtotime($contributionReceiveDate . "+" . $prefixValue['due_date'] . "" . $prefixValue['due_date_period']));
$dueDate = date('F j, Y', strtotime($contributionReceiveDate . "+" . $prefixValue['due_date'] . "" . $prefixValue['due_date_period']));

if ($input['component'] == 'contribute') {
$eid = $contribID;
Expand Down

0 comments on commit f677d7c

Please sign in to comment.