Overview
SHA1:e706fa5292dd44357cbc519b0b287476b45f9837
Date: 2017-10-13 03:05:47
User: bohwaz
Comment:Corrections modification projet
Timelines: family | ancestors | descendants | both | dev
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2017-10-14
07:22
[8f762fb30b] Fix URL pour les installations sans vhost (user: bohwaz, tags: dev)
2017-10-13
03:05
[e706fa5292] Corrections modification projet (user: bohwaz, tags: dev)
02:57
[1aaa9b55f7] Correction cacher le sélecteur de banque pour les opérations en espèce (user: bohwaz, tags: dev)
Changes

Modified src/templates/admin/compta/operations/modifier.tpl from [9a345215f2] to [f67c5ea98b].

48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
            <dd><input type="text" name="numero_piece" id="f_numero_piece" value="{form_field name=numero_piece data=$operation}" /></dd>
            <dt><label for="f_remarques">Remarques</label></dt>
            <dd><textarea name="remarques" id="f_remarques" rows="4" cols="30">{form_field name=remarques data=$operation}</textarea></dd>

            {if count($projets) > 0}
            <dt><label for="f_projet">Projet</label></dt>
            <dd>
                <select name="projet" id="f_projet">
                    <option value="0">-- Aucun</option>
                    {foreach from=$projets key="id" item="libelle"}
                    <option value="{$id}"{form_field name="id_projet" selected=$id data=$operation}>{$libelle}</option>
                    {/foreach}
                </select>
            </dd>
            {/if}

        </dl>
    </fieldset>







|


|







48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
            <dd><input type="text" name="numero_piece" id="f_numero_piece" value="{form_field name=numero_piece data=$operation}" /></dd>
            <dt><label for="f_remarques">Remarques</label></dt>
            <dd><textarea name="remarques" id="f_remarques" rows="4" cols="30">{form_field name=remarques data=$operation}</textarea></dd>

            {if count($projets) > 0}
            <dt><label for="f_projet">Projet</label></dt>
            <dd>
                <select name="id_projet" id="f_projet">
                    <option value="0">-- Aucun</option>
                    {foreach from=$projets key="id" item="libelle"}
                        <option value="{$id}"{form_field name="id_projet" selected=$id data=$operation}>{$libelle}</option>
                    {/foreach}
                </select>
            </dd>
            {/if}

        </dl>
    </fieldset>

Modified src/www/admin/compta/operations/modifier.php from [3951adca3f] to [a97e3dd3ad].

52
53
54
55
56
57
58

59
60
61
62
63
64
65
                    'libelle'       =>  f('libelle'),
                    'montant'       =>  f('montant'),
                    'date'          =>  f('date'),
                    'compte_credit' =>  f('compte_credit'),
                    'compte_debit'  =>  f('compte_debit'),
                    'numero_piece'  =>  f('numero_piece'),
                    'remarques'     =>  f('remarques'),

                ]);
            }
            else
            {
                $cat = $cats->get(f('id_categorie'));

                if (!$cat)







>







52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
                    'libelle'       =>  f('libelle'),
                    '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_projet'     =>  f('id_projet'),
                ]);
            }
            else
            {
                $cat = $cats->get(f('id_categorie'));

                if (!$cat)