Overview
Comment:Corrections modification projet
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: e706fa5292dd44357cbc519b0b287476b45f9837
User & Date: bohwaz on 2017-10-13 03:05:47
Other Links: branch diff | manifest | tags
Context
2017-10-14
07:22
Fix URL pour les installations sans vhost check-in: 8f762fb30b user: bohwaz tags: dev
2017-10-13
03:05
Corrections modification projet check-in: e706fa5292 user: bohwaz tags: dev
02:57
Correction cacher le sélecteur de banque pour les opérations en espèce check-in: 1aaa9b55f7 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)