Add custom company logo upload and simplify kiosk branding.
Deploy Ladill Frontdesk / deploy (push) Successful in 23s

Show Ladill Frontdesk or uploaded logo top-left on kiosk; allow logo upload in onboarding and organization settings.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-27 21:49:17 +00:00
co-authored by Cursor
parent 0e28b59b10
commit dfda39df6e
9 changed files with 172 additions and 27 deletions
+15
View File
@@ -11,7 +11,9 @@ use App\Models\Organization;
use App\Models\User;
use App\Models\Visit;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Storage;
use Tests\TestCase;
class FrontdeskPhase7Test extends TestCase
@@ -93,6 +95,19 @@ class FrontdeskPhase7Test extends TestCase
$this->assertTrue($device->fresh()->isOnline());
}
public function test_kiosk_device_page_shows_custom_organization_logo(): void
{
Storage::fake('public');
$path = UploadedFile::fake()->image('brand.png', 320, 80)->store('frontdesk/organizations/'.$this->organization->id, 'public');
$this->organization->update(['logo_path' => $path]);
$device = $this->createKioskDevice();
$this->get(route('frontdesk.kiosk.device', $device->device_token))
->assertOk()
->assertSee(Storage::disk('public')->url($path), false);
}
public function test_kiosk_device_can_check_in_visitor(): void
{
$device = $this->createKioskDevice();