minor fixes

This commit is contained in:
David Bomba 2023-06-01 07:54:08 +10:00
parent 12a9cff6d7
commit 483a656b5f
2 changed files with 3 additions and 7 deletions

View File

@ -734,9 +734,7 @@ class BaseDriver extends AbstractPaymentDriver
$invoices_string = str_replace(["*","<",">","'",'"'], "-", $invoices_string);
if(is_numeric($invoices_string)){
$invoices_string = "I-".$invoices_string;
}
$invoices_string = substr($invoices_string,0,22);

View File

@ -388,10 +388,8 @@ $entity_images
];
tables.forEach((tableIdentifier) => {
console.log(document.getElementById(tableIdentifier));
document.getElementById(tableIdentifier)?.childElementCount === 0
? document.getElementById(tableIdentifier).style.setProperty('display', 'none', 'important')
document.getElementById(tableIdentifier).childElementCount === 0
? document.getElementById(tableIdentifier).style.display = 'none'
: '';
});
});