Improvements to invoice
This commit is contained in:
@@ -201,7 +201,6 @@ class Controller_Task_Invoice extends Controller_Task {
|
||||
$iio->quantity = $pdata['prorata'];
|
||||
$iio->item_type = 0; // Service Billing
|
||||
$iio->discount_amt = NULL; // @todo
|
||||
$iio->price_type = $so->product->price_type;
|
||||
$iio->price_base = $so->price();
|
||||
$iio->recurring_schedule = $so->recur_schedule;
|
||||
$iio->date_start = $pdata['start_time'];
|
||||
|
@@ -64,7 +64,6 @@ class Controller_User_Invoice extends Controller_Invoice {
|
||||
throw HTTP_Exception::factory(403,'Service either doesnt exist, or you are not authorised to see it');
|
||||
|
||||
$output .= View::factory('invoice/user/view')
|
||||
->set('mediapath',Route::get('default/media'))
|
||||
->set('o',$io);
|
||||
|
||||
if ($io->due() AND ! $io->cart_exists())
|
||||
|
Reference in New Issue
Block a user