Overview
Comment: | Allow debit+credit or no columns, but no amount will be shown |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
0c8db36efe99e0dd539787d23e9883f4 |
User & Date: | bohwaz on 2022-09-25 13:39:48 |
Other Links: | manifest | tags |
Context
2022-09-25
| ||
13:40 | See services subscribed after a specified date check-in: f8eab54a72 user: bohwaz tags: trunk, stable | |
13:39 | Allow debit+credit or no columns, but no amount will be shown check-in: 0c8db36efe user: bohwaz tags: trunk | |
2022-09-18
| ||
21:17 | Suggest something to allow large files check-in: 93f26933b6 user: bohwaz tags: trunk | |
Changes
Modified src/include/lib/Garradin/Accounting/AssistedReconciliation.php from [8655ca4d24] to [f75a20a210].
︙ | ︙ | |||
70 71 72 73 74 75 76 | return $this->csv; } public function setSettings(array $translation_table, int $skip): void { $this->csv->setTranslationTable($translation_table); | > | > | | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | return $this->csv; } public function setSettings(array $translation_table, int $skip): void { $this->csv->setTranslationTable($translation_table); if ((in_array('credit', $translation_table) && !in_array('debit', $translation_table)) || (!in_array('credit', $translation_table) && in_array('debit', $translation_table))) { $this->csv->clear(); throw new UserException('Il est nécessaire de sélectionner les deux colonnes "débit" et "crédit", pas seulement "crédit" ou "débit".'); } $this->csv->skip($skip); } public function getStartAndEndDates(): ?array { |
︙ | ︙ |