diff --git a/application/controllers/Reports.php b/application/controllers/Reports.php index 546a84634..777e71f4c 100644 --- a/application/controllers/Reports.php +++ b/application/controllers/Reports.php @@ -1070,7 +1070,8 @@ class Reports extends Secure_Controller 'profit' => to_currency($row['profit']), 'payment_type' => $row['payment_type'], 'comment' => $row['comment'], - + 'edit' => anchor('sales/edit/'. $row['sale_id'], '', + array('class'=>'modal-dlg print_hide', $button_key => $button_label, 'data-btn-submit' => $this->lang->line('common_submit'), 'title' => $this->lang->line('sales_update'))) )); foreach($report_data['details'][$key] as $drow)