sale_id not receiving_id in detailed sale report (#507)

This commit is contained in:
FrancescoUK
2016-05-07 11:55:52 +01:00
parent 3451a70fe4
commit ac765e4667

View File

@@ -56,7 +56,7 @@ class Reports extends Secure_area
'profit' => to_currency($report_data['profit']),
'payment_type' => $report_data['payment_type'],
'comment' => $report_data['comment'],
'edit' => anchor("sales/edit/". $report_data['receiving_id'], '<span class="glyphicon glyphicon-edit"></span>',
'edit' => anchor("sales/edit/". $report_data['sale_id'], '<span class="glyphicon glyphicon-edit"></span>',
array('class'=>"modal-dlg modal-btn-delete modal-btn-submit print_hide", 'title'=>$CI->lang->line('sales_update'))
)
);