Changeset 629 for trunk/Modules/Finance
- Timestamp:
- Jan 2, 2014, 5:07:34 PM (11 years ago)
- Location:
- trunk/Modules/Finance
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Import.php
r568 r629 122 122 function InsertMoney($Subject, $Value, $Cash, $Taxable, $Time, $Text, $DocumentLine) 123 123 { 124 125 $BillCode = $this->System->Modules['Finance']->GetNextDocumentLineNumber($DocumentLine );124 $Year = date('Y', $Time); 125 $BillCode = $this->System->Modules['Finance']->GetNextDocumentLineNumber($DocumentLine, $Year); 126 126 // TODO: Fixed BankAccount=1 127 127 $this->Database->insert('FinanceOperation', array('Text' => $Text, -
trunk/Modules/Finance/Manage.php
r627 r629 106 106 global $LastInsertTime; 107 107 108 $BillCode = $this->System->Modules['Finance']->GetNextDocumentLineNumber($DocumentLine); 108 $Year = date('Y', $TimeCreation); 109 $BillCode = $this->System->Modules['Finance']->GetNextDocumentLineNumber($DocumentLine, $Year); 109 110 $SumValue = 0; 110 111 foreach($Items as $Item)
Note:
See TracChangeset
for help on using the changeset viewer.