St Stefan ob Stainz Import
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user