Improvements to payment and other misc items

This commit is contained in:
Deon George
2013-06-19 19:26:07 +10:00
parent 1caeed6606
commit 3499776ddc
33 changed files with 569 additions and 530 deletions

View File

@@ -11,12 +11,17 @@
*/
class Model_Payment_Item extends ORM_OSB {
// Relationships
protected $_belongs_to = array(
'payment'=>array(),
);
protected $_has_one = array(
'invoice'=>array('far_key'=>'invoice_id','foreign_key'=>'id'),
);
protected $_belongs_to = array(
'payment'=>array(),
protected $_display_filters = array(
'alloc_amt'=>array(
array('Currency::display',array(':value')),
),
);
}
?>