public function getBranchNames() { $data = PurchaseOrders::getBranchNames(); return response()->json($data); }