mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-28 16:50:06 +01:00
Stampa personalizzata con priorità rispetto a standard
This commit is contained in:
parent
f15b3925ff
commit
25157b75a8
@ -183,12 +183,12 @@ class Prints
|
||||
exit();
|
||||
}
|
||||
|
||||
if (self::isOldStandard($print)) {
|
||||
return self::oldLoader($infos['id'], $id_record, $directory, $return_string);
|
||||
} elseif (!self::isCompletelyCustom($print)) {
|
||||
return self::loader($infos['id'], $id_record, $directory, $return_string);
|
||||
} else {
|
||||
if (self::isCompletelyCustom($print)) {
|
||||
return self::customLoader($infos['id'], $id_record, $directory, $return_string);
|
||||
} elseif (self::isOldStandard($print)) {
|
||||
return self::oldLoader($infos['id'], $id_record, $directory, $return_string);
|
||||
} else {
|
||||
return self::loader($infos['id'], $id_record, $directory, $return_string);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user