Bette explanation on how to create an repeatable invoice

This commit is contained in:
Laurent Destailleur
2016-04-24 18:11:19 +02:00
parent bcb4b2b607
commit ccdbf69cd5
3 changed files with 11 additions and 1 deletions

View File

@@ -2329,6 +2329,15 @@ if ($action == 'create')
}
}
// Template invoice
print '<div class="tagtr listofinvoicetype"><div class="tagtd listofinvoicetype">';
$tmp='<input type="radio" name="type" id="radio_template" value="0" disabled> ';
$text = $tmp.$langs->trans("RepeatableInvoice") . ' ';
//$text.= '('.$langs->trans("YouMustCreateStandardInvoiceFirst").') ';
$desc = $form->textwithpicto($text, $langs->transnoentities("YouMustCreateStandardInvoiceFirstDesc"), 1, 'help', '', 0, 3);
print $desc;
print '</div></div>';
print '</div>';
print '</td></tr>';

View File

@@ -1089,7 +1089,7 @@ else
$i++;
}
}
else print '<tr '.$bc[false].'><td colspan="6">'.$langs->trans("NoneF").'</td></tr>';
else print '<tr '.$bc[false].'><td colspan="9">'.$langs->trans("NoneF").'</td></tr>';
print "</table>";
$db->free($resql);