From ac765e4667ead3ffa585c1bbf104020c1923c8f0 Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Sat, 7 May 2016 11:55:52 +0100 Subject: [PATCH] sale_id not receiving_id in detailed sale report (#507) --- application/controllers/Reports.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Reports.php b/application/controllers/Reports.php index 24ef4177e..82c876a1f 100644 --- a/application/controllers/Reports.php +++ b/application/controllers/Reports.php @@ -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'], '', + 'edit' => anchor("sales/edit/". $report_data['sale_id'], '', array('class'=>"modal-dlg modal-btn-delete modal-btn-submit print_hide", 'title'=>$CI->lang->line('sales_update')) ) );