Cart work for payments and Paypal work to test
This commit is contained in:
@@ -11,6 +11,13 @@
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
class Model_Payment_Item extends ORM_OSB {
|
||||
protected $_belongs_to = array('payment'=>array(),'invoice'=>array());
|
||||
// Relationships
|
||||
protected $_has_one = array(
|
||||
'invoice'=>array('far_key'=>'invoice_id','foreign_key'=>'id'),
|
||||
);
|
||||
|
||||
protected $_belongs_to = array(
|
||||
'payment'=>array(),
|
||||
);
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user