Add Employee name to suspended form (#2678)

This commit is contained in:
FrancescoUK
2020-02-16 13:46:25 +00:00
parent e0620e1a3e
commit efd53cbccf
4 changed files with 40 additions and 17 deletions

View File

@@ -1427,14 +1427,13 @@ class Sales extends Secure_Controller
*/
public function suspended()
{
$customer_id = $this->sale_lib->get_customer();
$data = array();
$customer_id = $this->sale_lib->get_customer();
$data['suspended_sales'] = $this->xss_clean($this->Sale->get_all_suspended($customer_id));
$data['dinner_table_enable'] = $this->config->item('dinner_table_enable');
$this->load->view('sales/suspended', $data);
}
/*
/**
* Unsuspended sales are now left in the tables and are only removed
* when they are intentionally cancelled.
*/