WIP Contract/Billing 2024-07-04

This commit is contained in:
Frank Schubert
2024-07-05 10:45:22 +02:00
parent 0640babfa3
commit 92edb9c812
27 changed files with 8043 additions and 116 deletions
+2 -2
View File
@@ -99,7 +99,7 @@ class CountryModel {
if(is_array($limit) && count($limit)) {
if(is_numeric($limit['start']) && is_numeric($limit['count'])) {
$sql .= " LIMIT ".$limit['start'].", ".$limit['count'];
} elseif(is_numeric($count)) {
} elseif(is_numeric($limit['count'])) {
$sql .= " LIMIT ".$limit['count'];
}
}
@@ -131,7 +131,7 @@ class CountryModel {
if(array_key_exists("isocode", $filter)) {
$isocode = $db->escape($filter['isocode']);
if($isocode) {
$where .= " AND Country.`isocode` like '%$isocode%'";
$where .= " AND Country.`isocode` like '$isocode'";
}
}