Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/public_html/dev-test/resources/views/auth/ |
@extends('frontend_new.layouts.account')
@section('title','SALON REGISTER')
@section('css_page')
<link rel="stylesheet" href="{{ asset('/themes/frontend_new/assets/payment/css/payment.css') }}" type="text/css" media="screen">
<link rel="stylesheet" href="{{ asset('/themes/frontend_new/assets/css/salon_register.css') }}" type="text/css" media="screen">
<style>
</style>
@endsection
@section('content')
<div class="page-content">
<div class="text-zone">
<div class="row">
{{--start left content--}}
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="back-button">
<a href="" class="btn-back"> <i class="fa fa-arrow-left"></i>Back to services</a>
</div>
<div class="block-header text-center block-title">
<h2>Let’s Work Wonders Together</h2>
</div>
<div class="form-main">
<div class="row">
{{ Form::open(array('url' => url('/salon-register'), 'method' => 'post', 'enctype'=>'multipart/form-data')) }}
<div class="col-sm-12 form-group">
<div class="filed">
<label for="name">Salon Name</label>
<input type="text" name="name" value="{{ old('name') }}" class="form-control" id="name" placeholder="">
@if ($errors->has('name'))
<div class="text-error">
{{ $errors->first('name') }}
</div>
@endif
</div>
</div>
<!-- <div class="col-sm-12 form-group">
<div class="filed">
<label>Registered Company Name</label>
<input type="text" class="form-control" placeholder="">
<small>If applicable - only when you have a registered copany</small>
</div>
</div> -->
<!-- <div class="col-sm-12 form-group">
<div class="filed">
<label>Number of employees</label>
<select class="form-control">
<option>Select number of employees</option>
</select>
</div>
</div> -->
<div class="col-sm-12 form-group">
<!-- <div class="row"> -->
<div class="filed">
<label for="number">Contact Number</label>
<input type="text" name="phone" value="{{ old('phone') }}" class="form-control" id="number" placeholder="">
@if ($errors->has('phone'))
<div class="text-error">
{{ $errors->first('phone') }}
</div>
@endif
</div>
<!-- <div class="col-sm-6">
<div class="filed">
<label>Last Name</label>
<input type="password" class="form-control" placeholder="">
</div>
</div> -->
<!-- </div> -->
</div>
<div class="col-sm-12 form-group">
<div class="filed">
<label for="email">Email Address</label>
<input type="email" class="form-control" id="email" name="email" value="{{ old('email') }}" placeholder="">
@if ($errors->has('email'))
<div class="text-error">
{{ $errors->first('email') }}
</div>
@endif
</div>
</div>
<div class="col-sm-12 form-group">
<div class="filed">
<label for="pass">Password</label>
<input type="password" name="password" class="form-control" id="pass" placeholder="">
@if ($errors->has('password'))
<div class="text-error">
{{ $errors->first('password') }}
</div>
@endif
</div>
</div>
<div class="col-sm-12 form-group">
<div class="filed">
<label for="pass-c">Confirm Password</label>
<input type="password" name="password_confirmation" class="form-control" id="pass-c" placeholder="">
@if ($errors->has('password_confirmation'))
<div class="text-error">
{{ $errors->first('password_confirmation') }}
</div>
@endif
</div>
</div>
<div class="row" style="margin-top: 10px;">
<div class="col-md-6">
<p class="help-block">
<b>PLEASE NOTE</b>:<br/>
When you upload a avatar image<br/>
it should be a square 200px x 200px
</p>
</div>
<div class="col-md-6">
<div class="fileinput fileinput-new" data-provides="fileinput">
<span class="btn btn-default btn-file"><span class="fileinput-new">UPLOAD</span><input type="file" name="avatar"></span>
<span class="fileinput-filename"></span>
</div>
</div>
</div>
<div id="actions" class="form-main submit-area text-center">
<button type="submit" id="check-hosted-fields" class="submit-btn">submit</button>
</div>
{{ Form::close() }}
</div>
</div>
</div>
{{--end left content--}}
</div>
</div>
</div>
@endsection
@section('custom_scripts')
{{--<script src="https://js.braintreegateway.com/v2/braintree.js"></script>--}}
<script src="{{ asset('/themes/frontend/assets/payment/js/client.min.js') }}"></script>
{{--<script src="{{ asset('/themes/frontend/assets/payment/js/hosted-fields.min.js') }}"></script>--}}
{{--<script>--}}
{{--var hostedFormSubmit = document.querySelector('#check-hosted-fields');--}}
{{--braintree.client.create({--}}
{{--authorization: "{{ (\Braintree\ClientToken::generate()) }}"--}}
{{--}, function (clientErr, clientInstance) {--}}
{{--if (clientErr) {--}}
{{--// Handle error in client creation--}}
{{--// console.log(clientErr);--}}
{{--return;--}}
{{--}--}}
{{--braintree.hostedFields.create({--}}
{{--client: clientInstance,--}}
{{--styles: {--}}
{{--'input': {--}}
{{--'font-size': '12px',--}}
{{--'border': '1px solid #333333',--}}
{{--},--}}
{{--'input.invalid': {--}}
{{--'color': 'red'--}}
{{--},--}}
{{--'input.valid': {--}}
{{--'color': 'green'--}}
{{--}--}}
{{--},--}}
{{--fields: {--}}
{{--number: {--}}
{{--selector: '#card-number',--}}
{{--placeholder: 'CARD NUMBER'--}}
{{--},--}}
{{--cvv: {--}}
{{--selector: '#cvv',--}}
{{--placeholder: 'CCV'--}}
{{--},--}}
{{--expirationDate: {--}}
{{--selector: '#expiration-date',--}}
{{--placeholder: 'MM/YY'--}}
{{--}--}}
{{--}--}}
{{--}, function (hostedFieldsErr, hostedFieldsInstance) {--}}
{{--if (hostedFieldsErr) {--}}
{{--// Handle error in Hosted Fields creation--}}
{{--return;--}}
{{--}--}}
{{--hostedFormSubmit.removeAttribute('disabled');--}}
{{--hostedFormSubmit.addEventListener('click', function (event) {--}}
{{--$('.error-payment').html('');--}}
{{--event.preventDefault();--}}
{{--hostedFieldsInstance.tokenize(function (tokenizeErr, payload) {--}}
{{--if (tokenizeErr) {--}}
{{--// Handle error in Hosted Fields tokenization--}}
{{--$('.error-payment').html(tokenizeErr.message);--}}
{{--console.log(tokenizeErr);--}}
{{--return;--}}
{{--}--}}
{{--hostedFormSubmit.setAttribute('disabled', true);--}}
{{--$("#actions").html("<div class='text-center'> <i class='fa fa-spin fa-spinner fa-2x'></i> Processing...</div>");--}}
{{--$('input[name="payment-method-nonce"]').val(payload.nonce);--}}
{{--$("form").submit();--}}
{{--});--}}
{{--}, false);--}}
{{--});--}}
{{--});--}}
{{--</script>--}}
@endsection