St Stefan ob Stainz Import

This commit is contained in:
Frank Schubert
2023-05-16 13:00:19 +02:00
parent d6e2f71c9f
commit 9a74011139
12 changed files with 2125 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ class ContractModel {
$data["product_info"] = $product->description;
$data["amount"] = $op->amount;
$data["sla_id"] = $product->sla_id;
$data["produt_external"] = ($product->external) ? $product->external : 0;
$data["product_external"] = ($product->external) ? $product->external : 0;
$data["product_external_id"] = ($product->external) ? $product->external_id : null;
$data["price"] = $op->price;
$data["price_setup"] = $op->price_setup;
@@ -296,6 +296,13 @@ class ContractModel {
}
}
if(array_key_exists("rtr_code", $filter)) {
$rtr_code = $filter['rtr_code'];
if(is_numeric($rtr_code)) {
$where .= " AND Contract.rtr_code=$rtr_code";
}
}
if(array_key_exists("customer_number", $filter)) {
$customer_number = $filter['customer_number'];
if(is_numeric($customer_number)) {