1
0
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:
Dasc3er 2021-08-05 10:38:41 +02:00
parent f15b3925ff
commit 25157b75a8

View File

@ -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);
}
}