2016-02-29 15:59:36 +00:00
|
|
|
<html>
|
|
|
|
|
<!-- Keep this page lean as possible.-->
|
|
|
|
|
<head>
|
|
|
|
|
<title>
|
2016-03-10 00:41:34 +00:00
|
|
|
Ticket(s)
|
2016-02-29 15:59:36 +00:00
|
|
|
</title>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0">
|
|
|
|
|
<style>
|
|
|
|
|
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover,a:focus{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#777}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 sma
|
|
|
|
|
</style>
|
|
|
|
|
<style>
|
|
|
|
|
|
2016-03-08 23:18:29 +00:00
|
|
|
.bottom_info {
|
2016-02-29 15:59:36 +00:00
|
|
|
text-align: center;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
2016-03-10 04:41:10 +00:00
|
|
|
|
2016-03-08 23:18:29 +00:00
|
|
|
.top_info {
|
|
|
|
|
position: fixed;
|
|
|
|
|
left: 41%;
|
|
|
|
|
top: 0px;
|
|
|
|
|
}
|
2016-02-29 15:59:36 +00:00
|
|
|
|
|
|
|
|
.ticket {
|
|
|
|
|
/*page-break-after: always;*/
|
|
|
|
|
padding: 10px;
|
2016-03-10 00:41:34 +00:00
|
|
|
border: 1px solid {{$event->ticket_border_color}};
|
2016-02-29 15:59:36 +00:00
|
|
|
width: 700px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
margin-top: 20px;
|
2016-03-10 00:41:34 +00:00
|
|
|
background: {{$event->ticket_bg_color}};
|
2016-02-29 15:59:36 +00:00
|
|
|
position: relative;
|
2016-03-08 23:18:29 +00:00
|
|
|
height: 330px;
|
2016-02-29 15:59:36 +00:00
|
|
|
font-size: 12px;
|
2016-03-10 00:41:34 +00:00
|
|
|
color: {{$event->ticket_sub_text_color}};
|
2016-02-29 15:59:36 +00:00
|
|
|
border-left-width: 3px;
|
2016-03-10 00:41:34 +00:00
|
|
|
border-left-color: {{$event->ticket_border_color}};
|
2016-02-29 15:59:36 +00:00
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ticket table {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ticket h1 {
|
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
margin-top: 0px;
|
|
|
|
|
}
|
2016-03-10 04:41:10 +00:00
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
.ticket hr {
|
|
|
|
|
border: none;
|
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
|
margin: 5px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ticket .barcode {
|
|
|
|
|
width: 150px;
|
|
|
|
|
height: 150px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 1px;
|
2016-03-08 23:18:29 +00:00
|
|
|
bottom: 85px;
|
2016-02-29 15:59:36 +00:00
|
|
|
overflow: hidden;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
border: 1px solid #000;
|
|
|
|
|
border-left: none;
|
|
|
|
|
background-color: #fdfdfd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ticket .barcode_vertical
|
|
|
|
|
{
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: -40px;
|
|
|
|
|
-webkit-transform: rotate(90deg);
|
|
|
|
|
top: 171px;
|
|
|
|
|
}
|
2016-03-10 04:41:10 +00:00
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
.ticket .top_barcode {
|
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ticket h4 {
|
|
|
|
|
font-size: 17px;
|
|
|
|
|
margin: 6px auto;
|
|
|
|
|
text-transform: uppercase;
|
2016-03-10 00:41:34 +00:00
|
|
|
color: {{$event->ticket_text_color}};
|
2016-02-29 15:59:36 +00:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ticket .event_details, .ticket .attendee_details {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 15px;
|
|
|
|
|
}
|
2016-03-10 04:41:10 +00:00
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
.ticket .event_details {
|
|
|
|
|
left: 175px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
max-width: 210px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-overflow: ellipsis;
|
2016-03-08 23:18:29 +00:00
|
|
|
top: 50px;
|
2016-02-29 15:59:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ticket .attendee_details {
|
|
|
|
|
left: 390px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
max-width: 195px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-overflow: ellipsis;
|
2016-03-08 23:18:29 +00:00
|
|
|
top: 50px;
|
2016-02-29 15:59:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ticket .logo {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 1px;
|
|
|
|
|
top: 1px;
|
2016-03-10 00:41:34 +00:00
|
|
|
border: 1px solid {{$event->ticket_border_color}};
|
2016-02-29 15:59:36 +00:00
|
|
|
border-top: none;
|
|
|
|
|
border-right: none;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
background-color: #fdfdfd;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ticket .logo img {
|
|
|
|
|
max-width: 110px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
<body style="background-color: #FFFFFF; font-family: Arial, Helvetica, sans-serif;">
|
|
|
|
|
<div class="container">
|
2016-03-08 23:18:29 +00:00
|
|
|
{{--<div class="top_info">--}}
|
|
|
|
|
{{--{{$attendees->count()}} tickets for event: <b>{{$event->title}}</b>--}}
|
|
|
|
|
{{--</div>--}}
|
2016-02-29 15:59:36 +00:00
|
|
|
|
|
|
|
|
@foreach($attendees as $attendee)
|
2016-03-13 00:24:48 +00:00
|
|
|
@if(!$attendee->is_cancelled)
|
|
|
|
|
<div class="ticket">
|
|
|
|
|
|
|
|
|
|
<div class='logo'>
|
|
|
|
|
<img src="{{empty(config('attendize.cdn_url_user_assets')) ? url('/'.$event->organiser->logo_path) : config('attendize.cdn_url_user_assets').'/'.$event->organiser->logo_path}}" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="event_details">
|
|
|
|
|
<div class="top_barcode hide">
|
|
|
|
|
<img src="data:image/png; base64,{!! \DNS1D::getBarcodePNG("4", "C39+", 4, 40) !!}" alt="barcode" />
|
|
|
|
|
</div>
|
|
|
|
|
<h4>Event</h4>
|
|
|
|
|
{{$event->title}}
|
|
|
|
|
<h4>Organiser</h4>
|
|
|
|
|
{{$event->organiser->name}}
|
|
|
|
|
<h4>Venue</h4>
|
|
|
|
|
{{$event->venue_name}}
|
|
|
|
|
<h4>Start Date / Time</h4>
|
|
|
|
|
{{$event->start_date->format('M dS g:iA')}}
|
|
|
|
|
<h4>End Date / Time</h4>
|
|
|
|
|
{{$event->end_date->format('M dS g:iA')}}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="attendee_details">
|
|
|
|
|
<h4>Name</h4>
|
|
|
|
|
{{{$attendee->first_name.' '.$attendee->last_name}}}
|
|
|
|
|
|
|
|
|
|
<h4>Ticket Type</h4>
|
|
|
|
|
{{{$attendee->ticket->title}}}
|
|
|
|
|
<h4>Order Ref.</h4>
|
|
|
|
|
#{{$order->order_reference}}
|
|
|
|
|
<h4>Attendee Ref.</h4>
|
|
|
|
|
#{{$attendee->reference}}
|
|
|
|
|
<h4>Price</h4>
|
|
|
|
|
{{money($attendee->ticket->total_price, $order->event->currency->code)}} (inc. {{money($attendee->ticket->total_booking_fee, $order->event->currency->code)}} Fees)
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="barcode">
|
|
|
|
|
{!! DNS2D::getBarcodeSVG($attendee->private_reference_number, "QRCODE", 6, 6) !!}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="barcode_vertical">
|
|
|
|
|
{!! DNS1D::getBarcodeSVG($attendee->private_reference_number, "EAN2", 1, 40) !!}
|
|
|
|
|
</div>
|
2016-02-29 15:59:36 +00:00
|
|
|
</div>
|
2016-03-13 00:24:48 +00:00
|
|
|
@endif
|
2016-02-29 15:59:36 +00:00
|
|
|
@endforeach
|
|
|
|
|
|
|
|
|
|
<div class="bottom_info">
|
|
|
|
|
Ticketing By <b>Attendize.com</b>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|