Comment: | Modernisation: saisie compta / suppression exercice |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
eb64e665741028decafdfec347920eda |
User & Date: | bohwaz on 2017-08-17 00:30:57 |
Other Links: | branch diff | manifest | tags |
2017-08-17
| ||
00:49 | Modernisation catégories compta check-in: ba738d8d9a user: bohwaz tags: dev | |
00:30 | Modernisation: saisie compta / suppression exercice check-in: eb64e66574 user: bohwaz tags: dev | |
2017-08-14
| ||
01:27 | Le mot de passe ne doit pas être obligatoire par défaut, parce que en fait dans 99% des cas on s'en fout qu'un membre ait un mot de passe check-in: 87feaa92c2 user: bohwaz tags: dev | |
Modified src/include/lib/Garradin/Compta/Comptes.php from [aaa9c6fdc2] to [62194cfbde].
︙ | |||
285 286 287 288 289 290 291 292 293 | 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 | + + + + - + | { $db = DB::getInstance(); if ($include_children && $parent_id) { $where = $db->where('parent', 'LIKE', $parent_id . '%'); } elseif ($include_children && !$parent_id) { $where = '1'; } else { |
︙ |
Modified src/include/lib/Garradin/Compta/Journal.php from [d0690cb385] to [da92b4acf3].
︙ | |||
98 99 100 101 102 103 104 | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | - - + + | ORDER BY date ASC;'; $result = $db->get($query); $solde = 0.0; foreach ($result as &$row) { |
︙ |
Modified src/include/lib/Garradin/Template.php from [6ee6d1d6a7] to [a5df5d901f].
︙ | |||
399 400 401 402 403 404 405 | 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 | - + - + - + - + - + - + - + - + - + | $selected = isset($params['data'][$params['name']]) ? $params['data'][$params['name']] : Utils::post($name); $out = '<select name="'.$name.'" id="f_'.$name.'" class="large">'; foreach ($comptes as $compte) { // Ne pas montrer les comptes désactivés |
︙ |
Modified src/templates/admin/compta/comptes/journal.tpl from [8a4a9b424e] to [4fe6662efe].
| 1 2 3 4 5 6 7 8 | - + |
|
︙ |
Modified src/templates/admin/compta/exercices/supprimer.tpl from [74847df662] to [604797e2eb].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - - - + - - | {include file="admin/_head.tpl" title="Supprimer un exercice" current="compta/exercices"} |
︙ |
Modified src/templates/admin/compta/operations/saisir.tpl from [f694808ea6] to [e4a817f3eb].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - - - + - - | {include file="admin/_head.tpl" title="Saisie d'une opération" current="compta/saisie" js=1} |
︙ |
Modified src/www/admin/compta/comptes/journal.php from [d5dfdbe319] to [82a2dbba77].
︙ | |||
8 9 10 11 12 13 14 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | - + - + - + + | if (!$compte) { throw new UserException("Le compte demandé n'existe pas."); } $journal = new Compta\Journal; |
Modified src/www/admin/compta/exercices/supprimer.php from [90312d8c29] to [5b9eced062].
︙ | |||
10 11 12 13 14 15 16 | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - + - - - + - - - - - + - | $exercice = $e->get((int)qg('id')); if (!$exercice) { throw new UserException('Exercice inconnu.'); } |
Modified src/www/admin/compta/operations/saisir.php from [f05e543934] to [0528898813].
︙ | |||
19 20 21 22 23 24 25 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | - - + - - - + + + + + + - - - + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - + - - + + - + - + - + - + - - + + - + - - - - - + + + + + - - - - + + + + - + - + - - - + - + - + - + - + - + - + | elseif (null !== qg('dette')) $type = 'dette'; elseif (null !== qg('avance')) $type = null; else $type = Compta\Categories::RECETTES; |