@extends('layouts/app') @section('content')

Update Device

@if(Session::has('error'))
Errors!
@foreach(Session::get('error') as $err) {{ $err }}
@endforeach @php Session::forget('error'); @endphp
@endif
@csrf
* @if ($errors->has('device_code')) {{ $errors->first('device_code') }} @endif
* @if ($errors->has('device_name')) {{ $errors->first('device_name') }} @endif
@if ($errors->has('device_access_token')) {{ $token ?? '' }} @endif
* @if ($errors->has('terminal_id')) {{ $errors->first('terminal_id') }} @endif
* @if ($errors->has('store_id')) {{ $errors->first('store_id') }} @endif
@if ($errors->has('branch_id')) {{ $errors->first('branch_id') }} @endif
@if (Auth::user()->can('UPDATE_KIOSK_SETUP_STATUS')) * @if ($errors->has('active')) {{ $errors->first('active') }} @endif @else
*
@endif
@if (Auth::user()->can('GENERATE_TOKEN_FOR_KIOSK')) @section('js') @endsection @endif @endsection