@if(auth()->user()->hasPermission('attendance.devices')) Add Device / Connector× @csrf Name *Branch *@foreach($branches as $b)id)>{{$b->name}}@endforeach Vendor@foreach(['zkteco'=>'ZKTeco','biotime'=>'BioTime','generic'=>'Generic'] as $key=>$label){{$label}}@endforeach Connection@foreach(['webhook'=>'Webhook / Push','api'=>'API Polling','database'=>'Database Connector','file'=>'File Import','manual'=>'Manual'] as $key=>$label){{$label}}@endforeach Attendance API URLSerial IPPort API UserPassword / TokenSave Device @endif @if(auth()->user()->hasPermission('attendance.mappings')) Link Employee by National ID× @csrf Device *@foreach($devices as $d)id)>{{$d->name}}@endforeach Employee / National ID *@foreach($employees as $e)id)>{{$e->name}} ({{$e->id_number?:'No national ID'}})@endforeach Database User Key *Save Mapping @endif @if(auth()->user()->hasPermission('attendance.sync')) Import Attendance CSV× @csrfDevice / Source *@foreach($devices as $d)id)>{{$d->name}}@endforeachCSV File *Import @endif