Files
ladill-pos/resources/views/auth/sso-popup-done.blade.php
T
isaaccladandCursor e5d2b84388
Deploy Ladill Mini / deploy (push) Successful in 23s
Add Ladill POS v1 — register, Pay checkout, and commerce links.
Staff-facing counter register at pos.ladill.com with catalog cart, cash and
MoMo/card checkout via Ladill Pay, CRM timeline/import, invoice prefill, and
Merchant catalog import.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 22:52:24 +00:00

33 lines
936 B
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Signing in…</title>
<meta name="robots" content="noindex">
</head>
<body>
<script>
(function () {
var intended = @json($intended);
var appOrigin = @json($appOrigin);
var fallbackUrl = @json($fallbackUrl);
@if ($error)
if (window.opener) {
window.opener.postMessage({ type: 'ladill:sso:error' }, appOrigin);
window.close();
} else {
window.location.replace(fallbackUrl);
}
@else
if (window.opener) {
window.opener.postMessage({ type: 'ladill:sso:success', return: intended }, appOrigin);
window.close();
} else {
window.location.replace(intended);
}
@endif
})();
</script>
</body>
</html>