mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-24 15:04:19 +00:00
disable crisp chat, change to chatdaddy
This commit is contained in:
+15
-15
@@ -20,22 +20,22 @@ export default {
|
||||
getCompanyId: (state, getters) => getters.getDecodedAccessToken.user.company_id,
|
||||
getAccessToken(state, getters, dispatch) {
|
||||
|
||||
if(getters.isAuthenticated){
|
||||
$crisp.push(["set", "user:email", getters.getUserEmail]);
|
||||
if(getters.isAdmin){
|
||||
$crisp.push(["set", "user:nickname", getters.getUserName]);
|
||||
}
|
||||
// if(getters.isAuthenticated){
|
||||
// $crisp.push(["set", "user:email", getters.getUserEmail]);
|
||||
// if(getters.isAdmin){
|
||||
// $crisp.push(["set", "user:nickname", getters.getUserName]);
|
||||
// }
|
||||
|
||||
if(getters.isCustomer && ('company_marking' in getters.getDecodedAccessToken.user)){
|
||||
$crisp.push(["set", "user:nickname", getters.getDecodedAccessToken.user.company_marking]);
|
||||
$crisp.push(["set", "session:data", [
|
||||
[
|
||||
["exchange-marking", getters.getDecodedAccessToken.user.company_marking],
|
||||
["company-name", getters.getDecodedAccessToken.user.company_name]
|
||||
]
|
||||
]]);
|
||||
}
|
||||
}
|
||||
// if(getters.isCustomer && ('company_marking' in getters.getDecodedAccessToken.user)){
|
||||
// $crisp.push(["set", "user:nickname", getters.getDecodedAccessToken.user.company_marking]);
|
||||
// $crisp.push(["set", "session:data", [
|
||||
// [
|
||||
// ["exchange-marking", getters.getDecodedAccessToken.user.company_marking],
|
||||
// ["company-name", getters.getDecodedAccessToken.user.company_name]
|
||||
// ]
|
||||
// ]]);
|
||||
// }
|
||||
// }
|
||||
|
||||
return state.authentication.access_token
|
||||
},
|
||||
|
||||
@@ -7,5 +7,6 @@
|
||||
<div style="margin-top: 20px;">
|
||||
<a href="{{route('booking.details', $booking->marking)}}"><button class="btn all-caps bg-primary no-border text-white pointer" style="font-size: 0.8em" >View</button></a>
|
||||
</div>
|
||||
<div class="all-caps hint-text" style="margin-top: 20px;"><small style="font-size: 0.7em">If you have questions, contact us at <a href="https://go.crisp.chat/chat/embed/?website_id=665dcd41-1edf-4451-8cb9-f1cf9ed35e15">here</a>. We truly appreciate your trust in our services and look forward to serving you in the future.</small></div>
|
||||
<div class="all-caps hint-text" style="margin-top: 20px;"><small style="font-size: 0.7em">If you have questions, contact us at <a href="https://api.whatsapp.com/send?phone=60125639252">here</a>. We truly appreciate your trust in our services and look forward to serving you in the future.</small></div>
|
||||
<!-- <div class="all-caps hint-text" style="margin-top: 20px;"><small style="font-size: 0.7em">If you have questions, contact us at <a href="https://go.crisp.chat/chat/embed/?website_id=665dcd41-1edf-4451-8cb9-f1cf9ed35e15">here</a>. We truly appreciate your trust in our services and look forward to serving you in the future.</small></div> -->
|
||||
@endsection
|
||||
Vendored
+1
-1
@@ -6,7 +6,7 @@
|
||||
'routes' => collect(\Route::getRoutes())->mapWithKeys(function ($route) { return [$route->getName() => $route->uri()]; })
|
||||
]) !!};
|
||||
</script>
|
||||
<script type="text/javascript">window.$crisp=[];window.CRISP_WEBSITE_ID="665dcd41-1edf-4451-8cb9-f1cf9ed35e15";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>
|
||||
<!-- <script type="text/javascript">window.$crisp=[];window.CRISP_WEBSITE_ID="665dcd41-1edf-4451-8cb9-f1cf9ed35e15";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script> -->
|
||||
<script src="{{ asset('js/vendor.js') }}" type="text/javascript"></script>
|
||||
<script src="@if (env('APP_ENV') === 'local') {{asset('vue/app.js')}} @else {{mix('vue/app.js')}} @endif"></script>
|
||||
<script src="{{ asset('js/site.js') }}" type="text/javascript"></script>
|
||||
|
||||
Reference in New Issue
Block a user