File: /home/xedaptot/be.naniguide.com/storage/framework/views/b42dd83fecc73d4f5d5e16956c074d70.php
<script>
<?php if(null !== Session::get('orig_admin_id') && Auth::user()->admin): ?>
notify({
type: 'warning',
message: `<?php echo trans('messages.current_login_as', ["name" => Auth::user()->customer->displayName()]); ?><br><?php echo trans('messages.click_to_return_to_origin_user', ["link" => action("Admin\AdminController@loginBack")]); ?>`,
timeout: false,
});
<?php endif; ?>
<?php if(
\Auth::user()->customer &&
config('app.saas') &&
\Auth::user()->customer->getCurrentActiveGeneralSubscription() &&
\Auth::user()->customer->getCurrentActiveGeneralSubscription()->planGeneral->useOwnSendingServer() &&
!\Auth::user()->customer->activeSendingServers()->count()
): ?>
notify({
type: 'warning',
message: `<?php echo trans('messages.not_have_any_customer_sending_server', [
'link' => action('SendingServerController@select'),
]); ?>`,
timeout: false,
});
<?php endif; ?>
<?php if(\Auth::user()->customer &&
config('app.saas') &&
!\Auth::user()->customer->getCurrentActiveGeneralSubscription() &&
!isset($subscriptionPage)
): ?>
notify({
type: 'warning',
message: `<?php echo trans('messages.not_have_any_plan_notification', [
'link' => action('SubscriptionController@index'),
]); ?>`,
timeout: false,
});
<?php endif; ?>
</script><?php /**PATH /home/xedaptot/be.naniguide.com/resources/views/layouts/core/_notify_frontend.blade.php ENDPATH**/ ?>