Overview
Comment: | Correction bug sélection projet dans saisie écriture |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
628109a63d8f031d1058d30fef1207b0 |
User & Date: | bohwaz on 2017-10-28 02:38:59 |
Other Links: | manifest | tags |
References
2020-12-08
| ||
23:25 | • Wiki page "Changelog/0.9" artifact: b9c916b4d1 user: bohwaz | |
Context
2017-11-01
| ||
21:03 | Correction report à nouveau automatique check-in: fd5dc17ef5 user: bohwaz tags: trunk, stable | |
2017-10-28
| ||
02:38 | Correction bug sélection projet dans saisie écriture check-in: 628109a63d user: bohwaz tags: trunk, stable | |
2017-10-26
| ||
00:34 | Release 0.8.1: supprime le temps NTP sur la config, car des fois lent à répondre check-in: 9dcca4fe5f user: bohwaz tags: trunk, stable, 0.8.1 | |
Changes
Modified src/www/admin/compta/operations/saisir.php from [723edaa903] to [a99f67bfb3].
︙ | ︙ | |||
33 34 35 36 37 38 39 | 'montant' => f('montant'), 'date' => f('date'), 'compte_credit' => f('compte_credit'), 'compte_debit' => f('compte_debit'), 'numero_piece' => f('numero_piece'), 'remarques' => f('remarques'), 'id_auteur' => $user->id, | | | | 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 | 'montant' => f('montant'), 'date' => f('date'), 'compte_credit' => f('compte_credit'), 'compte_debit' => f('compte_debit'), 'numero_piece' => f('numero_piece'), 'remarques' => f('remarques'), 'id_auteur' => $user->id, 'id_projet' => f('projet') ?: null, ]); } elseif ($type == 'virement') { $id = $journal->add([ 'libelle' => f('libelle'), 'montant' => f('montant'), 'date' => f('date'), 'compte_debit' => f('compte1'), 'compte_credit' => f('compte2'), 'numero_piece' => f('numero_piece'), 'remarques' => f('remarques'), 'id_auteur' => $user->id, 'id_projet' => f('projet') ?: null, ]); } else { if ($type == 'recette') { $cat = 'categorie_recette'; |
︙ | ︙ | |||
136 137 138 139 140 141 142 | 'numero_cheque' => ($type == 'dette') ? null : f('numero_cheque'), 'compte_credit' => $credit, 'compte_debit' => $debit, 'numero_piece' => f('numero_piece'), 'remarques' => f('remarques'), 'id_categorie' => ($type === 'dette') ? null : (int)$cat->id, 'id_auteur' => $user->id, | | | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | 'numero_cheque' => ($type == 'dette') ? null : f('numero_cheque'), 'compte_credit' => $credit, 'compte_debit' => $debit, 'numero_piece' => f('numero_piece'), 'remarques' => f('remarques'), 'id_categorie' => ($type === 'dette') ? null : (int)$cat->id, 'id_auteur' => $user->id, 'id_projet' => f('projet') ?: null, ]); } $session->set('context_compta_date', f('date')); Utils::redirect('/admin/compta/operations/saisir.php?ok='.(int)$id); } |
︙ | ︙ |