@extends('layouts/contentNavbarLayout') @section('title', 'Create Business') @section('page-script') @endsection @section('content')

My Account

@if(\Session::get('rol')=='business')
@if (\Session::get('business.phone')=='') @endif
@if (!isset($business))
@csrf
user-avatar

Allowed JPG, GIF or PNG. Max size of 800K


@include('content.special-field.field', [ 'id'=> 'businessFirstName', 'type' => 'text', 'placeholder' => 'Jhon', 'field' => 'businessFirstName', 'message' => isset($message)?$message:'' ])
@include('content.special-field.field', [ 'id'=> 'businessLastName', 'type' => 'text', 'placeholder' => 'Doe', 'field' => 'businessLastName', 'message' => isset($message)?$message:'' ])
@include('content.special-field.field', [ 'id'=> 'businessEmail', 'type' => 'text', 'placeholder' => 'example@business.com', 'field' => 'businessEmail', 'message' => isset($message)?$message:'' ])
@include('content.special-field.field', [ 'id'=> 'businessName', 'type' => 'text', 'placeholder' => 'Business Co.', 'field' => 'businessName', 'message' => isset($message)?$message:'' ])
@include('content.special-field.field', [ 'id'=> 'businessPassword', 'type' => 'text', 'placeholder' => 'Your Password', 'field' => 'businessPassword', 'message' => isset($message)?$message:'' ])
Cancel
@else
@csrf
user-avatar

Allowed JPG, GIF or PNG. Max size of 800K


@include('content.special-field.field', [ 'id'=> 'businessFirstName', 'type' => 'text', 'placeholder' => 'Jhon', 'value' => $business->firstName, 'field' => 'businessFirstName', 'message' => isset($message)?$message:'' ])
@include('content.special-field.field', [ 'id'=> 'businessLastName', 'type' => 'text', 'placeholder' => 'Doe', 'value' => $business->lastName, 'field' => 'businessLastName', 'message' => isset($message)?$message:'' ])
@include('content.special-field.field', [ 'id'=> 'businessEmail', 'type' => 'text', 'placeholder' => 'example@business.com', 'value' => $business->email, 'field' => 'businessEmail', 'message' => isset($message)?$message:'' ])
@include('content.special-field.field', [ 'id'=> 'businessName', 'type' => 'text', 'placeholder' => 'Business Co.', 'value' => $business->name, 'field' => 'businessName', 'message' => isset($message)?$message:'' ])
@if ($business->google_id == null)
@include('content.special-field.field', [ 'id'=> 'businessPassword', 'type' => 'password', 'placeholder' => 'Leave it empty so as not to update', 'field' => 'businessPassword', 'message' => isset($message)?$message:'' ])
@endif
Cancel
@endif
@else
user-avatar

@include('content.special-field.field', [ 'id'=> 'businessFirstName', 'type' => 'text', 'placeholder' => 'Jhon', 'value' => $admin->name, 'field' => 'businessFirstName', 'message' => isset($message)?$message:'' ])
@include('content.special-field.field', [ 'id'=> 'businessEmail', 'type' => 'text', 'placeholder' => 'example@business.com', 'value' => $admin->email, 'field' => 'businessEmail', 'message' => isset($message)?$message:'' ])
@endif
@endsection