Look and feel v14
This commit is contained in:
parent
e7d64d073a
commit
5e2bec9cad
@ -357,6 +357,7 @@ if ($id) {
|
|||||||
// Form to enter VAT
|
// Form to enter VAT
|
||||||
if ($action == 'create') {
|
if ($action == 'create') {
|
||||||
print load_fiche_titre($langs->trans("VAT").' - '.$langs->trans("New"));
|
print load_fiche_titre($langs->trans("VAT").' - '.$langs->trans("New"));
|
||||||
|
|
||||||
if (!empty($conf->use_javascript_ajax)) {
|
if (!empty($conf->use_javascript_ajax)) {
|
||||||
print "\n".'<script type="text/javascript" language="javascript">';
|
print "\n".'<script type="text/javascript" language="javascript">';
|
||||||
print /** @lang JavaScript */'
|
print /** @lang JavaScript */'
|
||||||
@ -393,10 +394,15 @@ if ($action == 'create') {
|
|||||||
print '<input type="hidden" name="token" value="'.newToken().'">';
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
print '<input type="hidden" name="action" value="add">';
|
print '<input type="hidden" name="action" value="add">';
|
||||||
|
|
||||||
|
print dol_get_fiche_head();
|
||||||
|
|
||||||
|
print '<table class="border centpercent">';
|
||||||
|
|
||||||
|
print '<tr><td class="titlefieldcreate fieldrequired">';
|
||||||
|
//print $langs->trans("Type");
|
||||||
|
print '</td><td>';
|
||||||
|
|
||||||
print '<div id="selectmethod">';
|
print '<div id="selectmethod">';
|
||||||
print '<div class="hideonsmartphone float">';
|
|
||||||
print $langs->trans("Type").': ';
|
|
||||||
print '</div>';
|
|
||||||
print '<label for="radiopayment">';
|
print '<label for="radiopayment">';
|
||||||
print '<input type="radio" id="radiopayment" data-label="'.$langs->trans('VATPayment').'" class="flat" name="refund" value="0"'.($refund ? '' : ' checked="checked"').'>';
|
print '<input type="radio" id="radiopayment" data-label="'.$langs->trans('VATPayment').'" class="flat" name="refund" value="0"'.($refund ? '' : ' checked="checked"').'>';
|
||||||
print ' ';
|
print ' ';
|
||||||
@ -409,15 +415,9 @@ if ($action == 'create') {
|
|||||||
print $langs->trans("Refund");
|
print $langs->trans("Refund");
|
||||||
print '</label>';
|
print '</label>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
print "<br>\n";
|
|
||||||
|
|
||||||
print dol_get_fiche_head();
|
print '</td>';
|
||||||
|
//print "<br>\n";
|
||||||
print '<table class="border centpercent">';
|
|
||||||
|
|
||||||
print '<tr><td class="titlefieldcreate fieldrequired">'.$form->textwithpicto($langs->trans("PeriodEndDate"), $langs->trans("LastDayTaxIsRelatedTo")).'</td><td>';
|
|
||||||
print $form->selectDate((GETPOST("datevmonth", 'int') ? $datev : -1), "datev", '', '', '', 'add', 1, 1);
|
|
||||||
print '</td></tr>';
|
|
||||||
|
|
||||||
// Label
|
// Label
|
||||||
if ($refund == 1) {
|
if ($refund == 1) {
|
||||||
@ -425,10 +425,14 @@ if ($action == 'create') {
|
|||||||
} else {
|
} else {
|
||||||
$label = $langs->trans("VATPayment");
|
$label = $langs->trans("VATPayment");
|
||||||
}
|
}
|
||||||
print '<tr><td class="fieldrequired">'.$langs->trans("Label").'</td><td><input class="minwidth300" name="label" id="label" value="'.($_POST["label"] ?GETPOST("label", '', 2) : $label).'"></td></tr>';
|
print '<tr><td class="titlefieldcreate fieldrequired">'.$langs->trans("Label").'</td><td><input class="minwidth300" name="label" id="label" value="'.($_POST["label"] ?GETPOST("label", '', 2) : $label).'" autofocus></td></tr>';
|
||||||
|
|
||||||
|
print '<tr><td class="titlefieldcreate fieldrequired">'.$form->textwithpicto($langs->trans("PeriodEndDate"), $langs->trans("LastDayTaxIsRelatedTo")).'</td><td>';
|
||||||
|
print $form->selectDate((GETPOST("datevmonth", 'int') ? $datev : -1), "datev", '', '', '', 'add', 1, 1);
|
||||||
|
print '</td></tr>';
|
||||||
|
|
||||||
// Amount
|
// Amount
|
||||||
print '<tr><td class="fieldrequired">'.$langs->trans("Amount").'</td><td><input name="amount" size="10" value="'.GETPOST("amount", "alpha").'"></td></tr>';
|
print '<tr><td class="fieldrequired">'.$langs->trans("Amount").'</td><td><input name="amount" class="right width75" value="'.GETPOST("amount", "alpha").'"></td></tr>';
|
||||||
|
|
||||||
print '<tr><td colspan="2"><hr></td></tr>';
|
print '<tr><td colspan="2"><hr></td></tr>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user