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
+31
View File
@@ -0,0 +1,31 @@
<?php
namespace App\Models;
use App\Models\Concerns\BelongsToOwner;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class EmployeePresenceEvent extends Model
{
use BelongsToOwner;
public const EVENT_SIGN_IN = 'sign_in';
public const EVENT_SIGN_OUT = 'sign_out';
public const EVENT_STEP_OUT = 'step_out';
public const EVENT_STEP_IN = 'step_in';
protected $table = 'frontdesk_employee_presence_events';
protected $fillable = [
'owner_ref', 'organization_id', 'employee_id', 'event', 'status_after',
'branch_id', 'device_id', 'destination', 'step_out_reason', 'notes',
];
public function employee(): BelongsTo
{
return $this->belongsTo(Employee::class, 'employee_id');
}
}