mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 07:14:33 -04:00
Fix supplier category after update (#2972)
This commit is contained in:
1 parent
a8aafb6f47
commit
5a124ede99
1 file changed
+1
@@ -22,6 +22,7 @@ class Suppliers extends Persons
|
||||
public function get_row($row_id)
|
||||
{
|
||||
$data_row = $this->xss_clean(get_supplier_data_row($this->Supplier->get_info($row_id)));
|
||||
$data_row['category'] = $this->Supplier->get_category_name($data_row['category']);
|
||||
|
||||
echo json_encode($data_row);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user