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'))
)
);