@extends('layouts.auth') @section('title', __('lang_v1.login')) @section('content')

{{ config('app.name', 'ultimatePOS') }}

@if(env('ALLOW_REGISTRATION', true))
{{ __('business.not_yet_registered')}} {{ __('business.register_now') }}
@endif
@lang('lang_v1.login')
{{ csrf_field() }}
@php $username = old('username'); $password = null; if(config('app.env') == 'demo'){ $username = 'admin'; $password = '123456'; $demo_types = array( 'all_in_one' => 'admin', 'super_market' => 'admin', 'pharmacy' => 'admin-pharmacy', 'electronics' => 'admin-electronics', 'services' => 'admin-services', 'restaurant' => 'admin-restaurant' ); if( !empty($_GET['demo_type']) && array_key_exists($_GET['demo_type'], $demo_types) ){ $username = $demo_types[$_GET['demo_type']]; } } @endphp @if ($errors->has('username')) {{ $errors->first('username') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if(config('app.env') != 'demo') @lang('lang_v1.forgot_your_password') @endif
@if(config('app.env') == 'demo')

Demo Shops Demos are for example purpose only, Ultimate POS can be used in many other similar businesses.

@endif
@endsection