mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-09-02 11:23:58 +00:00
Merge branch 'dillon/63.7-company-with-multiple-employees' into development
This commit is contained in:
@@ -17,7 +17,8 @@ class VoucherResource extends JsonResource
|
||||
public function toArray($request)
|
||||
{
|
||||
$filteredRedemptions = new ArrayObject([]);
|
||||
if ($request->has('filters') && str_contains($request->input('filters'), "has_vouchers_all_with_user")) {
|
||||
if ($request->has('filters') && (str_contains($request->input('filters'), "has_vouchers_all_with_user") )) {
|
||||
//|| str_contains($request->input('filters'), "has_vouchers_all_with_company")
|
||||
$filteredRedemptions = new ArrayObject([]);
|
||||
}
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user