fix style
This commit is contained in:
parent
51041bbea1
commit
b4a7657fbe
@ -2266,7 +2266,7 @@ if ($action == 'create') {
|
||||
*/
|
||||
|
||||
if (empty($origin)) {
|
||||
if (!empty($societe->id ) && $societe->id > 0) {
|
||||
if (!empty($societe->id) && $societe->id > 0) {
|
||||
// Credit note
|
||||
if (empty($conf->global->INVOICE_DISABLE_CREDIT_NOTE)) {
|
||||
// Show link for credit note
|
||||
|
||||
@ -55,8 +55,8 @@ $dol_openinpopup = GETPOST('dol_openinpopup', 'aZ09');
|
||||
$status = GETPOST('status', 'int');
|
||||
$opp_status = GETPOST('opp_status', 'int');
|
||||
$opp_percent = price2num(GETPOST('opp_percent', 'alpha'));
|
||||
$objcanvas = GETPOST("objcanvas","alpha");
|
||||
$comefromclone = GETPOST("comefromclone","alpha");
|
||||
$objcanvas = GETPOST("objcanvas", "alpha");
|
||||
$comefromclone = GETPOST("comefromclone", "alpha");
|
||||
|
||||
if ($id == '' && $ref == '' && ($action != "create" && $action != "add" && $action != "update" && !GETPOST("cancel"))) {
|
||||
accessforbidden();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user