mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-02 17:24:41 +02:00
add send message button
add send message button in customer view details
This commit is contained in:
parent
130451e1ae
commit
3d2af75e5b
3 changed files with 161 additions and 151 deletions
|
@ -40,8 +40,11 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
|||
});
|
||||
</script>
|
||||
EOT;
|
||||
$c = ORM::for_table('tbl_customers')->find_many();
|
||||
$ui->assign('c', $c);
|
||||
if (isset($routes['2']) && !empty($routes['2'])) {
|
||||
$ui->assign('cust', ORM::for_table('tbl_customers')->find_one($routes['2']));
|
||||
}
|
||||
$id = $routes['2'];
|
||||
$ui->assign('id', $id);
|
||||
$ui->assign('xfooter', $select2_customer);
|
||||
$ui->display('message.tpl');
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue