Resolve "Add Paramount insurance and PayMongo support for RESQ2 API" #1699

Merged
arcticzero merged 22 commits from 761-add-paramount-insurance-and-paymongo-support-for-resq2-api into 746-resq-2-0-final 2023-11-17 20:28:03 +00:00
Showing only changes of commit 502e9a11cd - Show all commits

View file

@ -80,7 +80,9 @@ class InsuranceController extends Controller
$this->em->flush();
// send notification
$this->fcmclient->sendEvent($obj->getCustomer(), "insurance_fcm_title_completed", "insurance_fcm_body_completed");
$this->fcmclient->sendEvent($obj->getCustomer(), "insurance_fcm_title_completed", "insurance_fcm_body_completed", [
'cv_id' => $obj->getCustomerVehicle()->getID(),
]);
}
return $this->json([
@ -108,7 +110,9 @@ class InsuranceController extends Controller
$this->em->flush();
// send notification
$this->fcmclient->sendEvent($obj->getCustomer(), "insurance_fcm_title_updated", "insurance_fcm_body_updated");
$this->fcmclient->sendEvent($obj->getCustomer(), "insurance_fcm_title_updated", "insurance_fcm_body_updated", [
'cv_id' => $obj->getCustomerVehicle()->getID(),
]);
}
return $this->json([