Merge remote-tracking branch 'origin/localization' into localization

# Conflicts:
#	resources/views/Bilettm/ViewEvent/Partials/Schedule.blade.php
This commit is contained in:
ilmedova 2019-12-24 14:42:58 +05:00
commit de764c9ffe
29 changed files with 360 additions and 139 deletions

View File

@ -36,6 +36,7 @@ class CategoryCrudController extends CrudController
// $this->crud->setFromDb();
$this->crud->addColumns([
['name'=>'id','type'=>'text','label'=>'Id'],
['name'=>'title','type'=>'text','label'=>'Title en'],
['name'=>'title_tk','type'=>'text','label'=>'Title tm'],
['name'=>'title_ru','type'=>'text','label'=>'Title ru'],
['name'=>'view_type','type'=>'text','label'=>'View Type'],
@ -43,6 +44,7 @@ class CategoryCrudController extends CrudController
['name'=>'parent_id','type'=>'text','label'=>'Parent'],
]);
$this->crud->addFields([
['name'=>'title','type'=>'text','label'=>'Title em'],
['name'=>'title_tk','type'=>'text','label'=>'Title tm'],
['name'=>'title_ru','type'=>'text','label'=>'Title ru'],
['name'=>'view_type','type' =>'enum', 'label'=>'View Type'],

View File

@ -36,13 +36,21 @@ class SectionCrudController extends CrudController
// TODO: remove setFromDb() and manually define Fields and Columns
// $this->crud->setFromDb();
$this->crud->addColumns([
['name'=>'section_no','type'=>'text','label'=>'Section No'],
['name'=>'description','type'=>'text','label'=>'Description'],
['name'=>'section_no','type'=>'text','label'=>'Section No En'],
['name'=>'section_no_ru','type'=>'text','label'=>'Section No Ru'],
['name'=>'section_no_tk','type'=>'text','label'=>'Section No Tk'],
['name'=>'description','type'=>'text','label'=>'Description En'],
['name'=>'description_ru','type'=>'text','label'=>'Description Ru'],
['name'=>'description_tk','type'=>'text','label'=>'Description Tk'],
]);
$this->crud->addFields([
['name'=>'section_no','type'=>'text','label'=>'Section No'],
['name'=>'section_no_ru','type'=>'text','label'=>'Section No Ru'],
['name'=>'section_no_tk','type'=>'text','label'=>'Section No Tk'],
['name'=>'description','type'=>'text','label'=>'Description'],
['name'=>'description_ru','type'=>'text','label'=>'Description Ru'],
['name'=>'description_tk','type'=>'text','label'=>'Description Tk'],
['name' => 'venue_id', 'type'=>'select','entity'=>'venue','attribute'=>'venue_name'],
[ // image
'label' => "Section Image",

View File

@ -34,8 +34,12 @@ class SliderCrudController extends CrudController
// TODO: remove setFromDb() and manually define Fields and Columns
$this->crud->addColumns([
['name' => 'title','type' => 'text', 'label' => 'Title'],
['name' => 'text','type' => 'text', 'label' => 'Text'],
['name' => 'title','type' => 'text', 'label' => 'Title En'],
['name' => 'title_ru','type' => 'text', 'label' => 'Title Ru'],
['name' => 'title_tk','type' => 'text', 'label' => 'Title Tk'],
['name' => 'text','type' => 'text', 'label' => 'Text En'],
['name' => 'text_ru','type' => 'text', 'label' => 'Text Ru'],
['name' => 'text_tk','type' => 'text', 'label' => 'Text Tk'],
['name' => 'link','type' => 'text', 'label' => 'Link'],
['name' => 'active','type' => 'boolean', 'label' => 'Active'],
['name' => 'image','type' => 'text', 'label' => 'Image'],

View File

@ -35,12 +35,16 @@ class VenueCrudController extends CrudController
// TODO: remove setFromDb() and manually define Fields and Columns
$this->crud->addColumns([
['name'=>'venue_name','type'=>'text','label'=>'Venue Name'],
['name'=>'venue_name','type'=>'text','label'=>'Venue Name En'],
['name'=>'venue_name_ru','type'=>'text','label'=>'Venue Name Ru'],
['name'=>'venue_name_tk','type'=>'text','label'=>'Venue Name Tk'],
['name'=>'active','type'=>'boolean','label'=>'Active']
]);
$this->crud->addFields([
['name'=>'venue_name','type'=>'text','label'=>'Venue Name'],
['name'=>'venue_name','type'=>'text','label'=>'Venue Name En'],
['name'=>'venue_name_ru','type'=>'text','label'=>'Venue Name Ru'],
['name'=>'venue_name_tk','type'=>'text','label'=>'Venue Name Tk'],
[ // Address
'name' => 'address',
'label' => 'Address',

View File

@ -75,7 +75,9 @@ class EventCheckInController extends MyBaseController
'attendees.arrival_time',
'attendees.reference_index',
'attendees.has_arrived',
'attendees.seat_no',
'tickets.title as ticket',
'tickets.ticket_date as date',
'orders.order_reference',
'orders.is_payment_received'
])
@ -149,7 +151,9 @@ class EventCheckInController extends MyBaseController
'attendees.reference_index',
'attendees.arrival_time',
'attendees.has_arrived',
'attendees.seat_no',
'tickets.title as ticket',
'tickets.ticket_date as date'
])->first();
if (is_null($attendee)) {

View File

@ -33,7 +33,7 @@ class EventViewController extends Controller
return view('Public.ViewEvent.EventNotLivePage');
}
$now =Carbon::now(config('app.timezone'));
$now = Carbon::now(config('app.timezone'));
$tickets = $event->tickets()->select('id','ticket_date')
->where('is_hidden', false)
->where('ticket_date','>=',$now)

View File

@ -118,16 +118,16 @@ class PublicController extends Controller
public function postAddEvent(AddEventRequest $request){
$addEvent = EventRequest::create([
'name' => $request->get('name'),
'email' => $request->get('email'),
'phone' => $request->get('phone'),
'detail' => $request->get('detail')
'name' => sanitise($request->get('name')),
'email' => sanitise($request->get('email')),
'phone' => sanitise($request->get('phone')),
'detail' => sanitise($request->get('detail'))
]);
return view('Bilettm.Public.AddEventResult',compact('addEvent'));
}
public function subscribe(SubscribeRequest $request){
$email = $request->get('email');
$email = sanitise($request->get('email'));
//todo validate email
$subscribe = Subscriber::updateOrCreate(['email'=>$email,'active'=>1]);
@ -140,11 +140,4 @@ class PublicController extends Controller
'message' => 'Subscription successfully',
]);
}
//locale
public function setLocale($locale){
App::setLocale($locale);
return redirect()->back();
}
}

View File

@ -37,6 +37,19 @@ class CardPayment{
return $response;
}
public function registerCard($cardDetails){
$response = new CardRegistrationResponce;
try{
$request = $this->client->post('processform.do',['form_params' =>$cardDetails]);
$response->setResponseData($request->getBody());
}catch (\Exception $ex){
Log::error($ex);
$error = 'Sorry, there was an error processing your payment. Please try again.';
$response->setExceptionMessage($error);
}
}
public function getPaymentStatus($orderId){
$params['form_params'] = config('payment.card.params');
$params['form_params']['orderId'] = $orderId;
@ -51,4 +64,4 @@ class CardPayment{
}
return $response;
}
}
}

View File

@ -0,0 +1,19 @@
<?php
namespace App\Payment;
class CardRegistrationResponce extends PaymentResponse
{
public function isSuccessfull()
{
// TODO: Implement isSuccessfull() method.
}
public function getPaymentReferenceId()
{
// TODO: Implement getPaymentReferenceId() method.
}
}

View File

@ -19,13 +19,13 @@ return [
'logo_mini' => '<b>B</b>tm',
// Developer or company name. Shown in footer.
'developer_name' => 'Merdan Muhammedow',
'developer_name' => 'Digital TPS',
// Developer website. Link in footer.
'developer_link' => 'http://tmchat.ru',
'developer_link' => 'http://tpsadvertising.com',
// Show powered by Laravel Backpack in the footer?
'show_powered_by' => true,
'show_powered_by' => false,
// The AdminLTE skin. Affects menu color and primary/secondary colors used throughout the application.
'skin' => 'skin-purple',
@ -57,7 +57,7 @@ return [
| By default the registration is open only on localhost.
*/
'registration_open' => env('BACKPACK_REGISTRATION_OPEN', true),
'registration_open' => env('BACKPACK_REGISTRATION_OPEN', false),
/*
|--------------------------------------------------------------------------
@ -121,7 +121,7 @@ return [
// Other options:
// - placehold (generic image with his first letter)
// - example_method_name (specify the method on the User model that returns the URL)
'avatar_type' => 'gravatar',
'avatar_type' => 'placehold',
/*
|--------------------------------------------------------------------------

View File

@ -0,0 +1,58 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class LocalizatonMigrationFileds extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('events', function (Blueprint $table) {
$table->string('title_ru')->nullable();
$table->string('title_tk')->nullable();
$table->text('description_tk')->nullable();
$table->text('description_ru')->nullable;
});
Schema::table('venues', function (Blueprint $table) {
$table->string('venue_name_ru')->nullable();
$table->string('venue_name_tk')->nullable();
});
Schema::table('sections', function (Blueprint $table) {
$table->string('section_no_ru')->nullable();
$table->string('description_ru')->nullable();
$table->string('section_no_tk')->nullable();
$table->string('description_tk')->nullable();
});
Schema::table('sliders', function (Blueprint $table) {
$table->string('title_ru')->nullable();
$table->string('text_ru')->nullable();
$table->string('title_tk')->nullable();
$table->string('text_tk')->nullable();
});
Schema::table('categories', function (Blueprint $table) {
$table->string('title')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}

View File

@ -153,7 +153,7 @@ article > .u-block-hover__additional--partially-slide-up {
background-color: #ffffff; }
#kinoteator {
margin-top: 20px; }
margin-top: 50px; }
#kinoteator .tab-header h2 {
font-size: 35px;
font-weight: bold; }
@ -220,8 +220,6 @@ article.u-block-hover img {
width: 100%;
margin-bottom: 1px; }
#teator {
margin-top: 50px; }
#teator .tab-header h2 {
font-size: 35px;
font-weight: bold;
@ -334,6 +332,32 @@ article.u-block-hover img {
transition-duration: .3s;
width: 56px;
border: none !important; }
#teator .owl-next{
background-color: #FFFFFF;
background-image: url(../images/icons/right.png);
background-size: 56px !important;
transition-property: opacity;
transition-duration: .3s;
width: 56px;
height: 56px;
border: none !important; }
#teator .owl-next span, #teator .owl-prev span{
opacity: 0;
}
#teator .owl-nav{
position: absolute;
right: 290px;
top: 3px;
}
#teator .owl-prev{
background-color: #ffffff;
background-image: url(../images/icons/left.png);
background-size: 56px !important;
transition-property: opacity;
transition-duration: .3s;
width: 56px;
height: 56px;
border: none !important; }
#kinoteator-tab1 .owl-prev, .movie-items-group .owl-prev {
background-image: url(../images/icons/left.png);
background-size: 56px !important;
@ -709,7 +733,7 @@ img.d2-img {
padding: 0 !important; }
#teator .tab-ozi {
padding: 0 30px 0 20px; }
padding: 0 10px 0 20px; }
#teator .tab-ozi .nav.u-nav-v1-1 {
padding-left: 0; }
@ -1898,14 +1922,26 @@ input.reserved-seats ~ label svg {
line-height: 30px;
}
.overlay-details-bottom-part a.share svg, .overlay-details-bottom-part a.like svg{
.overlay-details-bottom-part a.share svg{
width: 20px;
}
.big-cinema-item-col6 .overlay-details-bottom-part a.share svg, .big-cinema-item-col6 .overlay-details-bottom-part a.like svg{
.big-cinema-item-col6 .overlay-details-bottom-part a.share svg{
width: 40px;
}
.overlay-details-bottom-part a.share svg, .overlay-details-bottom-part a.like i{
font-size: 30px;
top: 4px;
position: relative;
}
.big-cinema-item-col6 .overlay-details-bottom-part a.share svg, .big-cinema-item-col6 .overlay-details-bottom-part a.like i{
font-size: 50px;
top: 9px;
position: relative;
}
.big-cinema-item-col6 .overlay-details .overlay-details-bottom-part span.cost{
font-size: 30px;
}
@ -1975,4 +2011,35 @@ choose_seats_content > div.tab-pane.fade{
#confirm-seats{
background-color: #d43d34;
color: #ffffff;
}
}
#kinoteator {
margin-top: 100px;
}
#kinoteator-tab1 .owl-dots, .movie-items-group .owl-dots {
margin-top: 30px;
}
#kinoteator .tab-ozi {
margin-top: 40px;
}
#kinoteator-tab1 .owl-nav{
top: -96px;
}
#konserty .tab-ozi {
margin-top: 40px;
}
#konserty-tab1 .owl-nav {
top: -97px;
}
#konserty-tab1 .owl-dots {
margin-top: 30px;
}
#teator.container{
padding: 100px 7.2% !important;
}

View File

@ -11,23 +11,22 @@
@endif
<div class="overlay-details-bottom-part">
<a href="" class="share">
<svg class="Shape" viewBox="0 0 30.504 33.893" fill="#ffffff" width="35px">
<svg class="Shape" viewBox="0 0 30.504 33.893" fill="#ffffff" width="35px" style="top: 0">
<path id="Shape" d="M 25.41962051391602 23.95637512207031 C 24.13169288635254 23.95637512207031 22.97933578491211 24.46681022644043 22.09812164306641 25.26648902893066 L 10.01532936096191 18.20548248291016 C 10.10006237030029 17.81414985656738 10.16784763336182 17.42281913757324 10.16784763336182 17.01446914672852 C 10.16784763336182 16.60612297058105 10.10006237030029 16.21479225158691 10.01532936096191 15.82345771789551 L 21.96255111694336 8.830510139465332 C 22.87765884399414 9.681234359741211 24.08085250854492 10.20868301391602 25.41962051391602 10.20868301391602 C 28.23272323608398 10.20868301391602 30.50354385375977 7.9287428855896 30.50354385375977 5.104341506958008 C 30.50354385375977 2.2799391746521 28.23272323608398 0 25.41962051391602 0 C 22.60651397705078 0 20.33569526672363 2.2799391746521 20.33569526672363 5.104341506958008 C 20.33569526672363 5.512688636779785 20.40348052978516 5.904021739959717 20.48821449279785 6.29535436630249 L 8.54099178314209 13.28830146789551 C 7.625885963439941 12.43757820129395 6.422690391540527 11.91012954711914 5.083923816680908 11.91012954711914 C 2.270819425582886 11.91012954711914 0 14.19006824493408 0 17.01446914672852 C 0 19.8388729095459 2.270819425582886 22.11881256103516 5.083923816680908 22.11881256103516 C 6.422690391540527 22.11881256103516 7.625885963439941 21.59136390686035 8.54099178314209 20.74064064025879 L 20.60683822631836 27.81865882873535 C 20.5221061706543 28.17596435546875 20.47126579284668 28.5502815246582 20.47126579284668 28.92460250854492 C 20.47126579284668 31.66392707824707 22.69124794006348 33.89282608032227 25.41962051391602 33.89282608032227 C 28.14799308776855 33.89282608032227 30.36797142028809 31.66392707824707 30.36797142028809 28.92460250854492 C 30.36797142028809 26.18527030944824 28.14799308776855 23.95637512207031 25.41962051391602 23.95637512207031 L 25.41962051391602 23.95637512207031 Z">
</path>
</svg>
{{__('ClientSide.share')}}</a>
<a href="" class="like">
<svg class="Shape_A26_Path_4" viewBox="0 0 34 30" fill="#ffffff" width="35px">
<path id="Shape_A26_Path_4" d="M 17 5.624999523162842 C 15.7344446182251 2.377499580383301 12.18900012969971 0 8.5 0 C 3.696555614471436 0 0 3.622499465942383 0 8.437499046325684 C 0 15.05437183380127 7.164555549621582 20.1712474822998 17 30 C 26.8354434967041 20.1712474822998 34 15.05437183380127 34 8.437499046325684 C 34 3.622499465942383 30.30344581604004 0 25.5 0 C 21.80722236633301 0 18.26555633544922 2.377499580383301 17 5.624999523162842 Z">
</path>
</svg>
{{--<svg class="Shape_A26_Path_4" viewBox="0 0 34 30" fill="#ffffff" width="35px">--}}
{{--<path id="Shape_A26_Path_4" d="M 17 5.624999523162842 C 15.7344446182251 2.377499580383301 12.18900012969971 0 8.5 0 C 3.696555614471436 0 0 3.622499465942383 0 8.437499046325684 C 0 15.05437183380127 7.164555549621582 20.1712474822998 17 30 C 26.8354434967041 20.1712474822998 34 15.05437183380127 34 8.437499046325684 C 34 3.622499465942383 30.30344581604004 0 25.5 0 C 21.80722236633301 0 18.26555633544922 2.377499580383301 17 5.624999523162842 Z">--}}
{{--</path>--}}
{{--</svg>--}}
<i class="fa fa-eye"></i>
{{$event->views}} {{__("ClientSide.views")}}</a>
<div class="buy-btn-wrap">
<a href="{{$event->event_url}}" class="buy-btn">{{__("ClientSide.buy_ticket")}}</a>
</div>
@if(!empty($event->starting_ticket))
<span class="cost">{{__("ClientSide.prices_from")}}: {{$event->starting_ticket->first()->price ?? 'n/a'}} TMT</span>
@endif
</div>
</div>
</div>

View File

@ -15,12 +15,7 @@
<div id="desc">
{!! Markdown::parse($event->description) !!}
</div>
@if($event->starting_ticket_price)
<div class="buy_and_salary">
<span class="cost">{{__("ClientSide.prices_from")}}: {{$event->starting_ticket_price}} TMT</span>
<a class="btn btn-danger buy_button" href="{{$event->event_url}}">{{__("ClientSide.buy_ticket")}}</a>
</div>
@endif
</div>
</div>
</div>

View File

@ -1,7 +1,7 @@
<section class="main-top-slider fadeOut owl-carousel owl-theme" id="main-top-slider">
@foreach($sliders as $slider)
<div class="item">
<li style="height: 600px" class="dzsparallaxer auto-init height-is-based-on-content use-loading mode-scroll loaded dzsprx-readyall"
<li style="padding-top: 31.25%" class="dzsparallaxer auto-init height-is-based-on-content use-loading mode-scroll loaded dzsprx-readyall"
data-index="rs-2800"
data-transition="slidingoverlayhorizontal"
data-slotamount="default"
@ -17,11 +17,11 @@
data-description="">
<!-- Parallax Image -->
<div class="divimage dzsparallaxer--target w-100"
style="height: 130%; background-image: url({{asset($slider->image)}}); transform: unset !important;"></div>
style="position:absolute; top: 0; background-position: center center; background-size: cover; bottom: -100px; background-image: url({{asset($slider->image)}}); transform: unset !important;"></div>
<!-- End Parallax Image -->
<a href="" class="d-block container g-py-200 h-100"></a>
</li>
</div>
@endforeach
</section>
</section>

View File

@ -1,8 +1,16 @@
@if(!empty($theatre->events) && $theatre->events->count()>0)
<section id="teator " class="container teator">
<section id="teator" class="container teator">
<div class="tab-header d-flex justify-content-between col-12">
<h2 class="font-weight-bold">{{$theatre->title}}</h2>
<div style="height: 5px; position: absolute; bottom: 10px; width: 100px; background-color: rgba(211,61,51,1)"></div>
<div class="owl-nav disabled" style="float: right">
<button type="button" role="presentation" class="owl-prev">
<span aria-label="Previous">˂</span>
</button>
<button type="button" role="presentation" class="owl-next">
<span aria-label="Next">˃</span>
</button>
</div>
<a class="teatr-show-more m-0" href="{{$theatre->url}}">{{__('ClientSide.view')}}</a>
</div>
<div class="tab-ozi col-12 pt-4">

View File

@ -8,23 +8,22 @@
<h4 class="date">{{$event->start_date->format('d M H:s')}}</h4>
<div class="overlay-details-bottom-part">
<a href="" class="share">
<svg class="Shape" viewBox="0 0 30.504 33.893" fill="#ffffff" width="20px">
<svg class="Shape" viewBox="0 0 30.504 33.893" fill="#ffffff" width="20px" style="top: 0">
<path id="Shape" d="M 25.41962051391602 23.95637512207031 C 24.13169288635254 23.95637512207031 22.97933578491211 24.46681022644043 22.09812164306641 25.26648902893066 L 10.01532936096191 18.20548248291016 C 10.10006237030029 17.81414985656738 10.16784763336182 17.42281913757324 10.16784763336182 17.01446914672852 C 10.16784763336182 16.60612297058105 10.10006237030029 16.21479225158691 10.01532936096191 15.82345771789551 L 21.96255111694336 8.830510139465332 C 22.87765884399414 9.681234359741211 24.08085250854492 10.20868301391602 25.41962051391602 10.20868301391602 C 28.23272323608398 10.20868301391602 30.50354385375977 7.9287428855896 30.50354385375977 5.104341506958008 C 30.50354385375977 2.2799391746521 28.23272323608398 0 25.41962051391602 0 C 22.60651397705078 0 20.33569526672363 2.2799391746521 20.33569526672363 5.104341506958008 C 20.33569526672363 5.512688636779785 20.40348052978516 5.904021739959717 20.48821449279785 6.29535436630249 L 8.54099178314209 13.28830146789551 C 7.625885963439941 12.43757820129395 6.422690391540527 11.91012954711914 5.083923816680908 11.91012954711914 C 2.270819425582886 11.91012954711914 0 14.19006824493408 0 17.01446914672852 C 0 19.8388729095459 2.270819425582886 22.11881256103516 5.083923816680908 22.11881256103516 C 6.422690391540527 22.11881256103516 7.625885963439941 21.59136390686035 8.54099178314209 20.74064064025879 L 20.60683822631836 27.81865882873535 C 20.5221061706543 28.17596435546875 20.47126579284668 28.5502815246582 20.47126579284668 28.92460250854492 C 20.47126579284668 31.66392707824707 22.69124794006348 33.89282608032227 25.41962051391602 33.89282608032227 C 28.14799308776855 33.89282608032227 30.36797142028809 31.66392707824707 30.36797142028809 28.92460250854492 C 30.36797142028809 26.18527030944824 28.14799308776855 23.95637512207031 25.41962051391602 23.95637512207031 L 25.41962051391602 23.95637512207031 Z">
</path>
</svg>
{{__("ClientSide.share")}}</a>
<a href="" class="like">
<svg class="Shape_A26_Path_4" viewBox="0 0 34 30" fill="#ffffff" width="20px">
<path id="Shape_A26_Path_4" d="M 17 5.624999523162842 C 15.7344446182251 2.377499580383301 12.18900012969971 0 8.5 0 C 3.696555614471436 0 0 3.622499465942383 0 8.437499046325684 C 0 15.05437183380127 7.164555549621582 20.1712474822998 17 30 C 26.8354434967041 20.1712474822998 34 15.05437183380127 34 8.437499046325684 C 34 3.622499465942383 30.30344581604004 0 25.5 0 C 21.80722236633301 0 18.26555633544922 2.377499580383301 17 5.624999523162842 Z">
</path>
</svg>
{{--<svg class="Shape_A26_Path_4" viewBox="0 0 34 30" fill="#ffffff" width="20px">--}}
{{--<path id="Shape_A26_Path_4" d="M 17 5.624999523162842 C 15.7344446182251 2.377499580383301 12.18900012969971 0 8.5 0 C 3.696555614471436 0 0 3.622499465942383 0 8.437499046325684 C 0 15.05437183380127 7.164555549621582 20.1712474822998 17 30 C 26.8354434967041 20.1712474822998 34 15.05437183380127 34 8.437499046325684 C 34 3.622499465942383 30.30344581604004 0 25.5 0 C 21.80722236633301 0 18.26555633544922 2.377499580383301 17 5.624999523162842 Z">--}}
{{--</path>--}}
{{--</svg>--}}
<i class="fa fa-eye"></i>
{{$event->views}} {{__("ClientSide.views")}}</a>
<div class="buy-btn-wrap">
<a href="{{$event->event_url}}" class="buy-btn">{{__("ClientSide.buy_ticket")}}</a>
</div>
@if(!empty($event->starting_ticket))
<span class="cost">{{__("ClientSide.prices_from")}}: {{$event->starting_ticket->first()->price ?? 'n/a'}} TMT</span>
@endif
</div>
</div>
</div>

View File

@ -1,12 +1,12 @@
<header id="js-header" class="u-header u-header--static u-shadow-v19">
<!-- Top Bar -->
<div class="top-of-header">
<div class="container-fluid">
<div class="row">
<img src="{{asset('assets/images/advs/top_adv.png')}}" class="w-100">
</div>
</div>
</div>
{{--<div class="top-of-header">--}}
{{-- <div class="container-fluid">--}}
{{-- <div class="row">--}}
{{-- <img src="{{asset('assets/images/advs/top_adv.png')}}" class="w-100">--}}
{{-- </div>--}}
{{-- </div>--}}
{{--</div>--}}
<!-- End Top Bar -->
<div class="u-header__section u-header__section--light g-bg-white g-transition-0_3 g-py-10">

View File

@ -13,28 +13,28 @@
@include('Bilettm.Partials.HomeMusical')
<section id="first-add-wrapper" style="margin: 100px 0;">
<div class="container">
<div class="row" style="padding: 0 20px;">
<a href="" style="width: 100%">
<img src="{{asset('assets/images/advs/first.png')}}" style="width: 100%">
</a>
</div>
</div>
</section>
{{--<section id="first-add-wrapper" style="margin: 100px 0;">--}}
{{-- <div class="container">--}}
{{-- <div class="row" style="padding: 0 20px;">--}}
{{-- <a href="" style="width: 100%">--}}
{{-- <img src="{{asset('assets/images/advs/first.png')}}" style="width: 100%">--}}
{{-- </a>--}}
{{-- </div>--}}
{{-- </div>--}}
{{--</section>--}}
@if(isset($theatre))
@include('Bilettm.Partials.HomeTheatre')
@endif
<section id="second-add-wrapper" style="margin: 100px 0;">
<div class="container">
<div class="row" style="padding: 0 20px;">
<a href="" style="width: 100%">
<img src="{{asset('assets/images/advs/second.png')}}" style="width: 100%">
</a>
</div>
</div>
</section>
{{--<section id="second-add-wrapper" style="margin: 100px 0;">--}}
{{-- <div class="container">--}}
{{-- <div class="row" style="padding: 0 20px;">--}}
{{-- <a href="" style="width: 100%">--}}
{{-- <img src="{{asset('assets/images/advs/second.png')}}" style="width: 100%">--}}
{{-- </a>--}}
{{-- </div>--}}
{{-- </div>--}}
{{--</section>--}}
@endsection
@section('after_scripts')
<script src="{{asset('vendor/jquery-migrate/jquery-migrate.min.js')}}"></script>

View File

@ -56,13 +56,26 @@
<section id="location" class="container p0" style="margin-bottom: 50px">
<div class="row">
<div class="col-md-12">
<div class="google-maps content">
<iframe frameborder="0" style="border:0; width: 100%; height: 200px"
src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q={{$event->map_address}}&amp;aq=0&amp;oq={{$event->map_address}}&amp;sll=28.659344,-81.187888&amp;sspn=0.128789,0.264187&amp;ie=UTF8&amp;hq={{$event->map_address}}&amp;t=m&amp;z=15&amp;iwloc=A&amp;output=embed">
</iframe>
<div class="google-maps content" id="map" style="height: 250px">
</div>
</div>
</div>
</section>
@endsection
@endsection
@section('after_scripts')
<script>
function initMap() {
var uluru = {lat: {{$event->venue->address['latlng']['lat']}}, lng: {{$event->venue->address['latlng']['lng']}}};
var map = new google.maps.Map(document.getElementById('map'), {
center: uluru,
zoom: 15
});
var marker = new google.maps.Marker({position: uluru, map: map});
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key={{config('services.google_places.key')}}&callback=initMap"
async defer></script>
@endsection

View File

@ -13,25 +13,6 @@
<div class="row">
<div class="col-md-12 text-center">
<h1 property="name">{{$event->title}}</h1>
<div class="event_venue">
<span property="startDate" content="{{ $event->start_date->toIso8601String() }}">
{{ $event->startDateFormatted() }}
</span>
-
<span property="endDate" content="{{ $event->end_date->toIso8601String() }}">
@if($event->start_date->diffInDays($event->end_date) == 0)
{{ $event->end_date->format('H:i') }}
@else
{{ $event->endDateFormatted() }}
@endif
</span>
@lang("Public_ViewEvent.at")
<span property="location" typeof="Place">
<b property="name">{{$event->venue->venue_name}}</b>
<meta property="address" content="{{ urldecode($event->venue_name) }}">
</span>
</div>
</div>
</div>
</section>
</section>

View File

@ -1,15 +1,14 @@
<h2 class="main-title" style="padding-left: 5px">{{__("ClientSide.schedule")}}</h2>
<div class="main-title-bottom-line" style="margin-left: 5px"></div>
@if($event->end_date->isPast())
@if(count($ticket_dates) > 0)
<h2 class="main-title" style="padding-left: 5px">Расписание</h2>
<div class="main-title-bottom-line" style="margin-left: 5px"></div>
@if($event->end_date->isPast())
<div class="alert alert-boring">
<h4 class="date-small-title">
@lang("Public_ViewEvent.event_already", ['started' => trans('Public_ViewEvent.event_already_ended')])
</h4>
</div>
@else
@if(count($ticket_dates) > 0)
<h4 class="date-small-title">{{__('ClientSide.datePlay')}}</h4>
@else
<h4 class="date-small-title">Дата проведения</h4>
<div class="date-box-wrap">
<ul class="nav nav-pills details-page">
@ -20,7 +19,7 @@
</ul>
</div>
<h4 class="time-small-title">{{__("ClientSide.timePlay")}}</h4>
<h4 class="time-small-title">Время проведения</h4>
<div class="time-box-wraper col-md-6" style="padding-left: 5px">
<div class="tab-content" id="myTabContent">
@ -41,7 +40,7 @@
</div>
</div>
@endforeach
{!!Form::submit('{{__("ClientSide.buy_ticket")', ['class' => 'btn btn-lg btn-danger'])!!}
{!!Form::submit(trans('ClientSide.buy_ticket'), ['class' => 'btn btn-lg btn-danger'])!!}
{!! Form::close() !!}
</div>
</div>
@ -77,4 +76,4 @@
});
</script>
@endpush
@endpush

View File

@ -16,7 +16,7 @@
<li class="active" role="presentation" style="display: inline-block;">
<a aria-expanded="true" data-toggle="tab" class="@if ($loop->first)active @endif show"
role="tab" id="home_tab_{{$ticket->id}}" href="#home_{{$ticket->id}}" aria-selected="true">
{{$ticket->title}} - {{$ticket->price}} TMT.</a>
{{$ticket->title}} - {{$ticket->total_price}} TMT.</a>
</li>
@endforeach
</ul>
@ -65,7 +65,8 @@
@else
<meta property="availability" content="http://schema.org/InStock">
<div class="standard-box" style="position: relative; padding: 20px 0">
<h5 style="font-weight: bold; font-size: 24px; margin-bottom: 20px; text-align: center">{{$ticket->title }} {{$ticket->section->section_no}} {{$ticket->section->description}}</h5>
<h5 style="font-weight: bold; font-size: 24px; margin-bottom: 20px; text-align: center">{{$ticket->section->section_no}} </h5>
<h4>{{$ticket->section->description}}</h4>
<table data-id="{{$ticket->id}}" style="text-align: center; margin: auto"
data-content='{!! zanitlananlar($ticket)!!}'>
<tbody data-num="{{$ticket->price}}" data-max="{{$ticket->max_per_person}}">
@ -172,4 +173,4 @@
</script>
@include("Shared.Partials.LangScript")
{!!HTML::script(config('attendize.cdn_url_static_assets').'/assets/javascript/frontend.js')!!}
@endsection
@endsection

View File

@ -31,11 +31,11 @@
<div class="btn-group btn-group-responsive">
<button data-modal-id="InviteAttendee" href="javascript:void(0);" data-href="{{route('showInviteAttendee', ['event_id'=>$event->id])}}" class="loadModal btn btn-success" type="button"><i class="ico-user-plus"></i> @lang("ManageEvent.invite_attendee")</button>
</div>
<div class="btn-group btn-group-responsive">
<button data-modal-id="ImportAttendees" href="javascript:void(0);" data-href="{{route('showImportAttendee', ['event_id'=>$event->id])}}" class="loadModal btn btn-success" type="button"><i class="ico-file"></i> @lang("ManageEvent.invite_attendees")</button>
</div>
<div class="btn-group btn-group-responsive">
<a class="btn btn-success" href="{{route('showPrintAttendees', ['event_id'=>$event->id])}}" target="_blank" ><i class="ico-print"></i> @lang("ManageEvent.print_attendee_list")</a>
</div>
@ -88,6 +88,12 @@
<th>
{!!Html::sortable_link(trans("ManageEvent.ticket"), $sort_by, 'ticket_id', $sort_order, ['q' => $q , 'page' => $attendees->currentPage()])!!}
</th>
<th>
{!!Html::sortable_link(trans("ManageEvent.ticket_date"), $sort_by, 'ticket_date', $sort_order, ['q' => $q , 'page' => $attendees->currentPage()])!!}
</th>
<th>
{!!Html::sortable_link(trans("ManageEvent.seat"), $sort_by, 'seat_no', $sort_order, ['q' => $q , 'page' => $attendees->currentPage()])!!}
</th>
<th>
{!!Html::sortable_link(trans("Order.order_ref"), $sort_by, 'order_reference', $sort_order, ['q' => $q , 'page' => $attendees->currentPage()])!!}
</th>
@ -106,9 +112,13 @@
<td>
{{{$attendee->ticket->title}}}
</td>
<td>
{{$attendee->ticket->ticket_date}}
</td>
<td>{{$attendee->seat_no}}</td>
<td>
<a href="javascript:void(0);" data-modal-id="view-order-{{ $attendee->order->id }}" data-href="{{route('showManageOrder', ['order_id'=>$attendee->order->id])}}" title="View Order #{{$attendee->order->order_reference}}" class="loadModal">
{{$attendee->order->order_reference}}
{{$attendee->reference}}
</a>
</td>
<td class="text-center">

View File

@ -89,11 +89,12 @@
class="at list-group-item"
:class = "{arrived : attendee.has_arrived || attendee.has_arrived == '1'}"
>
@lang("Attendee.name"): <b>@{{ attendee.first_name }} @{{ attendee.last_name }} </b> &nbsp; <span v-if="!attendee.is_payment_received" class="label label-danger">@lang("Order.awaiting_payment")</span>
@lang("Attendee.name"): <b>@{{ attendee.first_name }} @{{ attendee.last_name }} </b>
&nbsp; <span v-if="!attendee.is_payment_received" class="label label-danger">@lang("Order.awaiting_payment")</span>
<br>
@lang("Order.reference"): <b>@{{ attendee.order_reference + '-' + attendee.reference_index }}</b>
<br>
@lang("Order.ticket"): <b>@{{ attendee.ticket }}</b>
@lang("Order.ticket"): <b>@{{ attendee.date }} @{{attendee.seat_no}}</b>
<a href="" class="ci btn btn-successfulQrRead">
<i class="ico-checkmark"></i>
</a>

View File

@ -44,7 +44,7 @@
<span title='{{money($ticket->price, $event->currency)}} @lang("Public_ViewEvent.ticket_price") + {{money($ticket->total_booking_fee, $event->currency)}} @lang("Public_ViewEvent.booking_fees")'>{{money($ticket->total_price, $event->currency)}} </span>
<span class="tax-amount text-muted text-smaller">{{ ($event->organiser->tax_name && $event->organiser->tax_value) ? '(+'.money(($ticket->total_price*($event->organiser->tax_value)/100), $event->currency).' '.$event->organiser->tax_name.')' : '' }}</span>
<meta property="priceCurrency"
content="{{ $event->currency->code }}">
content="{{ $event->currency->code ?? 'manat'}}">
<meta property="price"
content="{{ number_format($ticket->price, 2, '.', '') }}">
@endif

View File

@ -51,10 +51,54 @@
</style>
</head>
<body style="background-color: #FFFFFF; font-family: Arial, Helvetica, sans-serif;">
<body style="background-color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; padding-top: 20px">
<div class="container">
@foreach($attendees as $attendee)
@if(!$attendee->is_cancelled)
<div class="row">
<table border="1" style="width: 700px; margin: auto">
<tr>
<td rowspan="2" style="width: 25%; padding: 20px; vertical-align: top; position: relative">
<div class="barcode">
{!! DNS2D::getBarcodeSVG($attendee->private_reference_number, "QRCODE", 6, 6) !!}
</div>
@if($event->is_1d_barcode_enabled)
<div class="barcode_vertical">
{!! DNS1D::getBarcodeSVG($attendee->private_reference_number, "C39+", 1, 50) !!}
</div>
@endif
<span style="position: absolute; display: block; bottom: 20px; width: calc(100% - 40px); background-color: #FF2C00; height: 30px"></span>
</td>
<td style="width: 45%; padding: 20px; vertical-align: top">
<span class="text-muted">Номер билета</span>
<h2 style="margin-top: 5px; margin-bottom: 0">{{$attendee->reference}}</h2>
</td>
<td rowspan="2" style="width: 30%; padding: 20px; vertical-align: top">
<p><b>Lorem ipsum dolor sit amet.</b> <span class="text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Adipisci facere hic id minus non omnis porro provident repellat sunt voluptatibus!</span></p>
</td>
</tr>
<tr>
<td style="padding: 20px; vertical-align: top">
<p style="margin-bottom: 5px !important;"><span class="text-muted">Мероприятие:</span> <b>{{$event->title}}</b></p>
<p style="margin-bottom: 5px !important;"><span class="text-muted">Организатор:</span> <b>{{$event->venue->venue_name}}</b></p>
<p style="margin-bottom: 5px !important;"><span class="text-muted">Дата и время:</span> <b>{{$attendee->ticket->ticket_date->format('d.m.Y HH:ss')}}</b></p>
<p style="margin-bottom: 5px !important;"><span class="text-muted">ФИО:</span> <b>{{$attendee->first_name.' '.$attendee->last_name}}</b></p>
<p style="margin-bottom: 5px !important;"><span class="text-muted">Тип билета:</span> <b>{{$attendee->ticket->title}}</b></p>
<p style="margin-bottom: 5px !important;"><span class="text-muted">Место:</span> <b>{{$attendee->seat_no}}</b></p>
@php
// Calculating grand total including tax
$grand_total = $attendee->ticket->total_price;
$tax_amt = ($grand_total * $event->organiser->tax_value) / 100;
$grand_total += $tax_amt;
@endphp
<p style="margin-bottom: 5px !important;"><span class="text-muted">Стоимость билета:</span> <b>{{money($grand_total, $order->event->currency)}} @if ($attendee->ticket->total_booking_fee) (inc. {{money($attendee->ticket->total_booking_fee, $order->event->currency)}}</b></p>
</td>
</tr>
</table>
</div>
<div class="ticket">
<div class='logo'>
@ -93,21 +137,14 @@
// Calculating grand total including tax
$grand_total = $attendee->ticket->total_price;
$tax_amt = ($grand_total * $event->organiser->tax_value) / 100;
$grand_total = $tax_amt + $grand_total;
$grand_total += $tax_amt;
@endphp
{{money($grand_total, $order->event->currency)}} @if ($attendee->ticket->total_booking_fee) (inc. {{money($attendee->ticket->total_booking_fee, $order->event->currency)}} @lang("Public_ViewEvent.inc_fees")) @endif @if ($event->organiser->tax_name) (inc. {{money($tax_amt, $order->event->currency)}} {{$event->organiser->tax_name}})
<br><br>{{$event->organiser->tax_name}} ID: {{ $event->organiser->tax_id }}
@endif
</div>
</div>
<div class="barcode">
{!! DNS2D::getBarcodeSVG($attendee->private_reference_number, "QRCODE", 6, 6) !!}
</div>
@if($event->is_1d_barcode_enabled)
<div class="barcode_vertical">
{!! DNS1D::getBarcodeSVG($attendee->private_reference_number, "C39+", 1, 50) !!}
</div>
@endif
</div>
@endif
@endforeach

View File

@ -1,3 +1,6 @@
@php
$error_number = 400;
@endphp
<html>
<head>
<title>
@ -25,4 +28,4 @@
@lang("error.back_soon_description")
</div>
</body>
</html>
</html>

View File

@ -1,3 +1,6 @@
@php
$error_number = 400;
@endphp
<html>
<head>
<title>
@ -25,4 +28,4 @@
@lang("error.back_soon_description")
</div>
</body>
</html>
</html>