Some updates after changing to KH335 and updating submodules
This commit is contained in:
18
modules/invoice/views/invoice/user/list/due.php
Normal file
18
modules/invoice/views/invoice/user/list/due.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<!-- o = Model Account -->
|
||||
<?php echo Block::factory()
|
||||
->title(sprintf('Invoices Due Account: %s (%s)',$o->accnum(),$o->invoice->list_due_total(TRUE)))
|
||||
->title_icon('fa fa-money')
|
||||
->span(6)
|
||||
->body(Table::factory()
|
||||
->data($o->invoice->list_due())
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'due_date'=>'Date Due',
|
||||
'total(TRUE)'=>'Invoice Total',
|
||||
'due(TRUE)'=>'Amount Due',
|
||||
))
|
||||
->prepend(array(
|
||||
'id'=>array('url'=>URL::link('user','invoice/view/')),
|
||||
))
|
||||
);
|
||||
?>
|
Submodule modules/lnapp updated: 05d132c4be...6a33249a95
@@ -107,7 +107,7 @@ class Model_Payment extends ORM_OSB {
|
||||
*/
|
||||
public function subitems($type='ALL') {
|
||||
if (! $this->_sub_items_sorted) {
|
||||
Sort::MAsort($this->_sub_items,'invoice_id');
|
||||
Sort::MAsort($this->_sub_items,array('invoice_id'));
|
||||
$this->_sub_items_sorted = TRUE;
|
||||
}
|
||||
|
||||
|
16
modules/service/views/service/user/list.php
Normal file
16
modules/service/views/service/user/list.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<!-- o = Model_Account -->
|
||||
<?php echo Block::factory()
|
||||
->title(sprintf('Active Service for Account: %s',$o->accnum()))
|
||||
->title_icon('fa-server')
|
||||
->span(6)
|
||||
->body(Table::factory()
|
||||
->data($o->service->list_active())
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'service_name()'=>'Service',
|
||||
))
|
||||
->prepend(array(
|
||||
'id'=>array('url'=>URL::link('user','service/view/')),
|
||||
))
|
||||
);
|
||||
?>
|
17
modules/service/views/service/user/list/expiring.php
Normal file
17
modules/service/views/service/user/list/expiring.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- o = Model Account -->
|
||||
<?php echo Block::factory()
|
||||
->title(sprintf('Services Expiring for Account: %s',$o->accnum()))
|
||||
->title_icon('fa fa-level-down')
|
||||
->span(6)
|
||||
->body(Table::factory()
|
||||
->data($o->service->list_expiring())
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'service_name(60)'=>'Service',
|
||||
'expire(TRUE)'=>'Date',
|
||||
))
|
||||
->prepend(array(
|
||||
'id'=>array('url'=>URL::link('user','service/view/')),
|
||||
))
|
||||
);
|
||||
?>
|
Reference in New Issue
Block a user