Skip to content

Commit 7f5d701

Browse files
committed
updates to the setting of repeat invoice costs commmenting it out for now
1 parent d8e28b7 commit 7f5d701

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bin/update_cpanel_data.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
if ($db->num_rows() > 0) {
4141
while ($db->next_record(MYSQL_ASSOC)) {
4242
$costData = getCpanelCost($license['accounts'], $license['host_type'] == 'dedicated' ? true : false, in_array($license['package'], ['559', '560', '401', '21175', '21179', '21183', '21187', '21897']) ? true : false);
43-
$query = "update repeat_invoices set repeat_invoices_cost = '{$costData['cost']}', repeat_invoices_description='{$db->Record['services_name']} {$license['accounts']} Accounts' where repeat_invoices_id={$db->Record['repeat_invoices_id']}";
43+
//$query = "update repeat_invoices set repeat_invoices_cost = '{$costData['cost']}', repeat_invoices_description='{$db->Record['services_name']} {$license['accounts']} Accounts' where repeat_invoices_id={$db->Record['repeat_invoices_id']}";
44+
$query = "update repeat_invoices set repeat_invoices_description='{$db->Record['services_name']} {$license['accounts']} Accounts' where repeat_invoices_id={$db->Record['repeat_invoices_id']}";
4445
//echo $query.PHP_EOL;
4546
$db2->query($query, __LINE__, __FILE__);
4647
}

0 commit comments

Comments
 (0)