Changeset 741 for trunk/Modules/Finance/Manage.php
- Timestamp:
- Jul 5, 2015, 6:24:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Manage.php
r740 r741 101 101 102 102 function InsertInvoice($Subject, $TimeCreation, $TimeDue, $ValueSign, $Items, 103 $Group, $PeriodFrom, $PeriodTo )103 $Group, $PeriodFrom, $PeriodTo, $Direction) 104 104 { 105 105 global $LastInsertTime; … … 114 114 'Subject' => $Subject, 'Time' => TimeToMysqlDateTime($TimeCreation), 115 115 'TimeDue' => TimeToMysqlDateTime($TimeDue), 'Value' => $SumValue, 116 'ValueSign' => $ValueSign, 'BillCode' => $BillCode, 116 'ValueSign' => $ValueSign, 'BillCode' => $BillCode, 'Direction' => $Direction, 117 117 'PeriodFrom' => TimeToMysqlDate($PeriodFrom), 'PeriodTo' => TimeToMysqlDate($PeriodTo), 118 118 'Generate' => 1, 'Group' => $FinanceGroup['Id'])); … … 185 185 $Output .= $TimePeriodText.': '.$MonthlyTotal.' * '.$Period['MonthCount'].' = '.$PayPerPeriod.'<br />'; 186 186 $this->InsertInvoice($Member['Subject'], time(), time() + 3600 * 24 * INVOICE_DUE_DAYS, 187 $FinanceGroup['ValueSign'], $InvoiceItems, $FinanceGroup, $Period['From'], $Period['To']); 187 $FinanceGroup['ValueSign'], $InvoiceItems, $FinanceGroup, $Period['From'], 188 $Period['To'], $FinanceGroup['Direction']); 188 189 189 190 $Output .= $this->SendPaymentEmail($Member['Id']);
Note:
See TracChangeset
for help on using the changeset viewer.