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

@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', 'superadmin' => 'superadmin', 'woocommerce' => 'woocommerce_user', 'essentials' => 'admin-essentials', 'manufacturing' => 'manufacturer-demo', ); 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')
@component('components.widget', ['class' => 'box-primary', 'header' => '

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

']) All In One Pharmacy Multi-Service Center Electronics & Mobile Shop Super Market Restaurant
Premium optional modules:

SaaS / Superadmin WooCommerce Essentials & HRM Manufacturing Module Project Module Advance Repair Module Connector Module / API Documentation @endcomponent
@endif @stop @section('javascript') @endsection