Deploy Ladill Mini / deploy (push) Successful in 23s
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>
33 lines
936 B
PHP
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>
|