D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
www
/
resources
/
views
/
manager
/
Filename :
calendar.blade.php
back
Copy
@extends('layouts.manager') @section('styles') @parent <link href="{{ asset('css/manager.css')}}" rel="stylesheet"> <link type="text/css" rel="stylesheet" href="{{asset('css/combodate.css')}}"> <link href="{{ asset('css/calendar.css')}}" rel="stylesheet"> @endsection @section('scripts') @parent <script src="{{asset('public/js/manager_price.js')}}"></script> <script src="{{asset('public/js/datetime.js')}}"></script> <script src="{{asset('public/js/manager_calculator.js')}}"></script> @endsection @section('content') <div class="container"> <div class="row"> <div class="col-md-12 bodycon"> <div class="panel-body main_body"> <div class="main_page"> @include('manager.includes.links') @if(isset($client)) <a href="{{asset('/manager/calculator/order/'.$client->id)}}" class="btn btn-primary btn-client">Client</a> <a href="{{asset('/manager/calculator/picture/'.$client->id)}}" class="btn btn-primary btn-tatoo">Tatoo</a> @endif <form action="{{asset('/manager/calculator/orderlast/'.(isset($client->id)?$client->id:0))}}" method="post" class="myform" id="client_form"> {!! csrf_field() !!} <input type="hidden" name="width_m" value="{{$width_m}}" /> <input type="hidden" name="height_m" value="{{$height_m}}" /> <input type="hidden" name="picture_id" id="picture_id" value="{{$picture->id}}" /> <input type="hidden" name="artist_id" value="{{$artist->id}}" /> <input type="hidden" name="saloon_id" value="{{$saloon_id}}" /> <input type="hidden" name="catalog_id" value="{{$catalog->id}}" /> <div class="col-md-4"> @if(isset($artist->id)) <div class="works_artist"> {{trans('client.shchedule.shchedule')}} <span>{{(isset($artist))?$artist->name:''}}</span></div> @endif <div class="calendar_obj"> {!! $calendar !!} </div> </div> <div class="col-md-2"> <div class="payd"> <label for="payd">Payd, €</label> <input type="text" id="payd" name="payd" class="form-control" required /> </div> <div class="works" id="work_date">{{date('d-m-Y')}}</div> <div id="colo"> {{trans('client.shchedule.not working day')}} </div> </div> <div class="col-md-4"> <div class="card"> @if(isset($picture->picture_small)) <div class="works"> <a href="{{asset($picture->picture)}}" target="_blank"> <img src="{{asset($picture->picture)}}" width="100%"/> </a> </div> @endif @if(isset($saloon->id)) <div class="works"> <a href="{{asset('saloon/'.$saloon->id)}}" target="_blank"> {{$saloon->name}} </a> </div> @endif @if(isset($artist->id)) <div class="works">{{trans('client.artists.artist')}}: <a href="{{asset('artist/'.$artist->id)}}" target="_blank"> {{(isset($artist))?$artist->name:''}} </a> </div> @endif <div class="works">{{trans('client.price.category of style')}}: <a href="{{asset('category/'.$catalog->id)}}" target="_blank"> {{(isset($catalog))?trans('client.menu_gallery.'.$catalog->name):''}} </a> </div> <div class="works"> <div class="works">{{trans('client.price.width')}}: <b>{{(int)$width_m}}</b> cm</div> <input type="hidden" id="width" value="{{(int)$width_m}}"> </div> <div class="works"> Size: <b>{{(int)((int)$width_m*(int)$height_m)}}</b> </div> <div class="works"> Price: <b>{{$prices->price}} €</b> </div> <div class="works"> <div class="works">{{trans('client.shchedule.time of work')}}: <b id="works_hours">{{$h}}</b> h</div> </div> </div> </div> <div class="col-md-2"> </div> <div class="col-md-12"> <input type="hidden" name="days" id="hide_day" value="{{date('d-m-Y')}}"/> @if(isset($artist->id)) <input type="submit" name="send" disabled value="{{trans('client.shchedule.payment')}}" class="btn btn-block btn-danger" id="checkout"> @if(isset($client->id)) @else <button type="button" class="btn btn-primary btn-block" id="checkclient" data-toggle="modal" data-target="#myModal"> Go to client </button> <!-- Modal --> <div class="modal fade modal_client" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content client-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel">Client form</h4> </div> @include('manager.includes.client_form') </div> </div> </div> @endif @else You can not place order because you did not choose artist. <a href="{{asset('order')}}">Choose artist</a> @endif </div> </form> </div> </div> </div> </div> </div> @endsection