511 |
|
|
512 |
|
|
513 |
/* Prise d'ordre */ |
/* Prise d'ordre */ |
514 |
print '<tr><td width="20%">Prise d\'ordre</td>'; |
print '<tr><td width="20%">Prise d\'ordre mensuelle</td>'; |
515 |
|
|
516 |
$po = $contrat->priseordre_totale(); |
$po = $contrat->priseordre_totale(); |
517 |
|
|
919 |
*/ |
*/ |
920 |
if ($_GET["action"] == 'po' && $po == 0) |
if ($_GET["action"] == 'po' && $po == 0) |
921 |
{ |
{ |
922 |
print_fiche_titre('Ajouter une prise d\'ordre'); |
print_fiche_titre('Ajouter une prise d\'ordre mensuelle'); |
923 |
|
|
924 |
print '<form action="fiche.php?id='.$contrat->id.'" method="post">'; |
print '<form action="fiche.php?id='.$contrat->id.'" method="post">'; |
925 |
print '<input type="hidden" name="action" value="addpo">'; |
print '<input type="hidden" name="action" value="addpo">'; |
926 |
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">'; |
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">'; |
927 |
print '<tr><td valign="top" width="20%">Montant</td><td valign="top" colspan="2">'; |
print '<tr><td valign="top" width="20%">Montant mensuel</td><td valign="top" colspan="2">'; |
928 |
print '<input name="montant" size="8"> euros HT</td></tr>'; |
print '<input name="montant" size="8"> euros HT</td></tr>'; |
929 |
print '</td></tr>'; |
print '</td></tr>'; |
930 |
print '<tr><td colspan="3" align="center">'; |
print '<tr><td colspan="3" align="center">'; |