Add employee presence with kiosk sign-in, QR badges, and mobile step-out.
Deploy Ladill Frontdesk / deploy (push) Failing after 26s

Enables staff roster, PIN/code kiosk flow, attendance reports, evacuation staff roll call, webhooks, branch mismatch warnings, and a linked-user My presence portal.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-28 21:11:18 +00:00
co-authored by Cursor
parent 905d7268e4
commit 890c2c71e3
40 changed files with 2613 additions and 53 deletions
@@ -3,6 +3,7 @@
namespace App\Services\Frontdesk;
use App\Models\Branch;
use App\Models\Employee;
use App\Models\Host;
use App\Models\Member;
use App\Models\Organization;
@@ -109,6 +110,19 @@ class OrganizationResolver
->first();
}
public function employeeFor(User $user): ?Employee
{
$organization = $this->resolveForUser($user);
if (! $organization) {
return null;
}
return Employee::where('organization_id', $organization->id)
->where('user_ref', $user->ownerRef())
->where('active', true)
->first();
}
/** Branch ID the member may access; null = all branches. */
public function branchScope(?Member $member): ?int
{