Revert "Removed edit from Discount Report" (#1823)

This reverts commit 60d77e1f61.
This commit is contained in:
FrancescoUK
2018-02-16 22:45:31 +00:00
parent 9ed0984c21
commit d6000c79f7

View File

@@ -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'], '<span class="glyphicon glyphicon-edit"></span>',
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)