Skip to content

Commit

Permalink
Merge pull request Dolibarr#248 from FHenry/3.5-quimperevts
Browse files Browse the repository at this point in the history
Add vatrate choice on invoice deposit creation from propal
  • Loading branch information
rdoursenaud committed Dec 5, 2014
2 parents b923672 + a240683 commit 319ec43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions htdocs/compta/facture.php
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@
$langs->trans('Deposit'),
$amountdeposit, //subprice
1, //quantity
$lines[$i]->tva_tx,
GETPOST('vatrate'),
0, //localtax1_tx
0, //localtax2_tx
0, //fk_product
Expand Down Expand Up @@ -2260,7 +2260,8 @@
$arraylist=array('amount'=>'FixAmount','variable'=>'VarAmount');
print $form->selectarray('typedeposit',$arraylist, GETPOST('typedeposit'), 0, 0, 0, '', 1);
print '</td>';
print '<td class="nowrap" style="padding-left: 5px">'.$langs->trans('Value').':<input type="text" name="valuedeposit" size="3" value="'.GETPOST('valuedeposit','int').'"/>';
print '<td class="nowrap" style="padding-left: 5px">'.$langs->trans('Value').':<input type="text" name="valuedeposit" size="3" value="'.GETPOST('valuedeposit','int').'"/></td>';
print '<td class="nowrap" style="padding-left: 5px">'.$langs->trans('VAT').':'.$form->load_tva('vatrate', -1);
}
print '</td></tr></table>';
print '</td></tr>'."\n";
Expand Down

0 comments on commit 319ec43

Please sign in to comment.