Skip to content

Commit

Permalink
Fix deposit pdf (#1127)
Browse files Browse the repository at this point in the history
* underp ID selector for PDF report

* fix upgrade json
  • Loading branch information
crossan007 authored and DawoudIO committed Oct 12, 2016
1 parent c3f9c9c commit d68ba9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mysql/upgrade.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"versions" : [
"2.2.0",
"2.2.1",
"2.2.2"
"2.2.2",
"2.2.3"
],
"scripts": [
Expand Down
2 changes: 1 addition & 1 deletion src/orm/model/ChurchCRM/Deposit.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private function generateDepositSummary($thisReport)

$thisReport->pdf->SetXY($thisReport->depositSummaryParameters->title->x, $thisReport->depositSummaryParameters->title->y);
$thisReport->pdf->SetFont('Courier', 'B', 20);
$thisReport->pdf->Write(8, "Deposit Summary " . $thisReport->deposit->dep_ID);
$thisReport->pdf->Write(8, "Deposit Summary " . $this->getId());
$thisReport->pdf->SetFont('Times', 'B', 10);

$thisReport->curX = $thisReport->depositSummaryParameters->summary->x;
Expand Down

0 comments on commit d68ba9e

Please sign in to comment.