Internal overhaul
This commit is contained in:
@@ -10,6 +10,17 @@
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
class Task_Invoice_Remindoverdue1 extends Minion_Task {
|
||||
// @todo This should be moved to somewhere else
|
||||
private $_css = '
|
||||
<style type="text/css">
|
||||
table.box-left { border: 1px solid #AAAACC; margin-right: auto; }
|
||||
tr.head { font-weight: bold; }
|
||||
td.head { font-weight: bold; }
|
||||
td.right { text-align: right; }
|
||||
tr.odd { background-color: #FCFCFE; }
|
||||
tr.even { background-color: #F6F6F8; }
|
||||
</style>';
|
||||
|
||||
protected function remind_overdue($notice=1) {
|
||||
$action = array();
|
||||
|
||||
@@ -44,7 +55,7 @@ class Task_Invoice_Remindoverdue1 extends Minion_Task {
|
||||
'INV_NUM'=>$io->refnum(),
|
||||
'INV_URL'=>URL::site(URL::link('user','invoice/view/'.$io->id),'http'),
|
||||
'LATE_FEE'=>'5.50', // @todo This should come from a config file.
|
||||
'PAYMENTS_TABLE'=>$io->account->payment->list_recent_table(),
|
||||
'PAYMENTS_TABLE'=>$this->_css.$io->account->payment->list_recent_table(),
|
||||
'SITE_NAME'=>Company::instance()->name(),
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user