Update card.php

This commit is contained in:
Laurent Destailleur 2019-09-30 18:12:43 +02:00 committed by GitHub
parent c8cb5886f4
commit 945dd0ae89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3047,7 +3047,7 @@ if ($action == 'create')
{
print '<div class="tagtr listofinvoicetype"><div class="tagtd listofinvoicetype">';
$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.= '> ';
// Show credit note options only if we checked credit note
print '<script type="text/javascript" language="javascript">