correction
This commit is contained in:
parent
95417d4c86
commit
c8cb5886f4
@ -3047,7 +3047,7 @@ if ($action == 'create')
|
|||||||
{
|
{
|
||||||
print '<div class="tagtr listofinvoicetype"><div class="tagtd listofinvoicetype">';
|
print '<div class="tagtr listofinvoicetype"><div class="tagtd listofinvoicetype">';
|
||||||
$tmp='<input type="radio" id="radio_creditnote" name="type" value="2"' . (GETPOST('type') == 2 ? ' checked' : '');
|
$tmp='<input type="radio" id="radio_creditnote" name="type" value="2"' . (GETPOST('type') == 2 ? ' checked' : '');
|
||||||
if ( ! $optionsav && ! empty($conf->global->INVOICE_CREDIT_NOTE_STANDALONE) ) $tmp.=' disabled';
|
if ( ! $optionsav && empty($conf->global->INVOICE_CREDIT_NOTE_STANDALONE) ) $tmp.=' disabled';
|
||||||
$tmp.= '> ';
|
$tmp.= '> ';
|
||||||
// Show credit note options only if we checked credit note
|
// Show credit note options only if we checked credit note
|
||||||
print '<script type="text/javascript" language="javascript">
|
print '<script type="text/javascript" language="javascript">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user