Overview
Comment: | Fix import |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
132d6496d69c064bb05d8573186b4fe5 |
User & Date: | bohwaz on 2022-07-31 21:49:41 |
Other Links: | manifest | tags |
Context
2022-07-31
| ||
22:47 | Fix datetime in user details check-in: ec76ec18ce user: bohwaz tags: trunk, stable | |
21:49 | Fix import check-in: 132d6496d6 user: bohwaz tags: trunk, stable | |
00:02 | Make navigation slightly smaller check-in: 428baf82c4 user: bohwaz tags: trunk | |
Changes
Modified src/include/lib/Garradin/Entities/Accounting/Transaction.php from [3f25dcd5cb] to [8e922fd3b4].
︙ | ︙ | |||
1088 1089 1090 1091 1092 1093 1094 | 'Lignes' => $lines, ]; } public function asJournalArray(): array { $out = $this->asArray(); | > > | > > | 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 | 'Lignes' => $lines, ]; } public function asJournalArray(): array { $out = $this->asArray(); if ($this->exists()) { $out['url'] = $this->url(); } $out['lines'] = $this->getLinesWithAccounts(); foreach ($out['lines'] as &$line) { unset($line->line); } unset($line); return $out; } public function url(): string { return Utils::getLocalURL('!acc/transactions/details.php?id=' . $this->id()); } } |