working on category page
This commit is contained in:
commit
5a3110efbe
|
|
@ -12,6 +12,5 @@ installed
|
|||
_ide_helper.php
|
||||
*.swp
|
||||
|
||||
|
||||
# Do not include backup lang files
|
||||
resources/lang/*/[a-zA-Z]*20[0-9][0-9][0-1][0-9][0-3][0-9]_[0-2][0-9][0-5][0-9][0-5][0-9].php
|
||||
16
Gruntfile.js
16
Gruntfile.js
|
|
@ -7,7 +7,6 @@ module.exports = function (grunt) {
|
|||
development: {
|
||||
options: {
|
||||
compress: true,
|
||||
javascriptEnabled: true,
|
||||
},
|
||||
files: {
|
||||
"./public/assets/stylesheet/application.css": "./public/assets/stylesheet/application.less",
|
||||
|
|
@ -71,22 +70,17 @@ module.exports = function (grunt) {
|
|||
}
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
scripts: {
|
||||
files: ['./public/assets/**/*.js'],
|
||||
tasks: ['default'],
|
||||
options: {
|
||||
spawn: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
phpunit: {
|
||||
classes: {},
|
||||
options: {}
|
||||
},
|
||||
});
|
||||
|
||||
// Plugin loading
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
grunt.loadNpmTasks('grunt-contrib-less');
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
//grunt.loadNpmTasks('grunt-phpunit');
|
||||
// Task definition
|
||||
grunt.registerTask('default', ['less', 'concat']);
|
||||
grunt.registerTask('deploy', ['less', 'concat', 'uglify']);
|
||||
|
|
|
|||
|
|
@ -591,7 +591,6 @@ class EventAttendeesController extends MyBaseController
|
|||
'attendees.first_name',
|
||||
'attendees.last_name',
|
||||
'attendees.email',
|
||||
'attendees.private_reference_number',
|
||||
'orders.order_reference',
|
||||
'tickets.title',
|
||||
'orders.created_at',
|
||||
|
|
@ -608,7 +607,6 @@ class EventAttendeesController extends MyBaseController
|
|||
'First Name',
|
||||
'Last Name',
|
||||
'Email',
|
||||
'Ticket ID',
|
||||
'Order Reference',
|
||||
'Ticket Type',
|
||||
'Purchase Date',
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ class EventCheckInController extends MyBaseController
|
|||
if ($attendee->has_arrived) {
|
||||
return response()->json([
|
||||
'status' => 'error',
|
||||
'message' => trans("Controllers.attendee_already_checked_in", ["time"=> $attendee->arrival_time->format(config("attendize.default_datetime_format"))])
|
||||
'message' => trans("Controllers.attendee_already_checked_in", ["time"=> $attendee->arrival_time->format(env("DEFAULT_DATETIME_FORMAT"))])
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ use App\Models\Category;
|
|||
use App\Models\Event;
|
||||
use File;
|
||||
use Illuminate\Http\Request;
|
||||
use App\Models\Currency;
|
||||
use Image;
|
||||
use Validator;
|
||||
|
||||
|
|
@ -22,7 +21,6 @@ class EventCustomizeController extends MyBaseController
|
|||
public function showCustomize($event_id = '', $tab = '')
|
||||
{
|
||||
$data = $this->getEventViewData($event_id, [
|
||||
'currencies' => Currency::pluck('title', 'id'),
|
||||
'available_bg_images' => $this->getAvailableBackgroundImages(),
|
||||
'available_bg_images_thumbs' => $this->getAvailableBackgroundImagesThumbs(),
|
||||
'tab' => $tab,
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use DateTime;
|
||||
use DatePeriod;
|
||||
use DateInterval;
|
||||
use Carbon\Carbon;
|
||||
use App\Models\Event;
|
||||
use App\Models\EventStats;
|
||||
use Carbon\Carbon;
|
||||
use DateInterval;
|
||||
use DatePeriod;
|
||||
use DateTime;
|
||||
|
||||
class EventDashboardController extends MyBaseController
|
||||
{
|
||||
|
|
@ -89,15 +89,4 @@ class EventDashboardController extends MyBaseController
|
|||
|
||||
return view('ManageEvent.Dashboard', $data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Redirect to event dashboard
|
||||
* @param Integer|false $event_id
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function redirectToDashboard($event_id = false) {
|
||||
return redirect()->action(
|
||||
'EventDashboardController@showDashboard', ['event_id' => $event_id]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -350,9 +350,10 @@ class EventOrdersController extends MyBaseController
|
|||
|
||||
$excel->sheet('orders_sheet_1', function ($sheet) use ($event) {
|
||||
|
||||
\DB::connection()->setFetchMode(\PDO::FETCH_ASSOC);
|
||||
$yes = strtoupper(trans("basic.yes"));
|
||||
$no = strtoupper(trans("basic.no"));
|
||||
$orderRows = DB::table('orders')
|
||||
$data = DB::table('orders')
|
||||
->where('orders.event_id', '=', $event->id)
|
||||
->where('orders.event_id', '=', $event->id)
|
||||
->select([
|
||||
|
|
@ -366,14 +367,9 @@ class EventOrdersController extends MyBaseController
|
|||
'orders.amount_refunded',
|
||||
'orders.created_at',
|
||||
])->get();
|
||||
//DB::raw("(CASE WHEN UNIX_TIMESTAMP(`attendees.arrival_time`) = 0 THEN '---' ELSE 'd' END) AS `attendees.arrival_time`"))
|
||||
|
||||
$exportedOrders = $orderRows->toArray();
|
||||
|
||||
array_walk($exportedOrders, function(&$value) {
|
||||
$value = (array)$value;
|
||||
});
|
||||
|
||||
$sheet->fromArray($exportedOrders);
|
||||
$sheet->fromArray($data);
|
||||
|
||||
// Add headings to first row
|
||||
$sheet->row(1, [
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ class InstallerController extends Controller
|
|||
|
||||
//force laravel to regenerate a new key (see key:generate sources)
|
||||
Config::set('app.key', $app_key);
|
||||
Artisan::call('key:generate', ['--force' => true]);
|
||||
Artisan::call('key:generate');
|
||||
Artisan::call('migrate', ['--force' => true]);
|
||||
if (Timezone::count() == 0) {
|
||||
Artisan::call('db:seed', ['--force' => true]);
|
||||
|
|
|
|||
|
|
@ -48,19 +48,18 @@ class OrganiserCustomizeController extends MyBaseController
|
|||
]);
|
||||
}
|
||||
|
||||
$organiser->name = $request->get('name');
|
||||
$organiser->about = $request->get('about');
|
||||
$organiser->name = $request->get('name');
|
||||
$organiser->about = $request->get('about');
|
||||
$organiser->google_analytics_code = $request->get('google_analytics_code');
|
||||
$organiser->google_tag_manager_code = $request->get('google_tag_manager_code');
|
||||
$organiser->email = $request->get('email');
|
||||
$organiser->email = $request->get('email');
|
||||
$organiser->enable_organiser_page = $request->get('enable_organiser_page');
|
||||
$organiser->facebook = $request->get('facebook');
|
||||
$organiser->twitter = $request->get('twitter');
|
||||
$organiser->facebook = $request->get('facebook');
|
||||
$organiser->twitter = $request->get('twitter');
|
||||
|
||||
$organiser->tax_name = $request->get('tax_name');
|
||||
$organiser->tax_value = $request->get('tax_value');
|
||||
$organiser->tax_id = $request->get('tax_id');
|
||||
$organiser->charge_tax = ($request->get('charge_tax') == 1) ? 1 : 0;
|
||||
$organiser->tax_name = $request->get('tax_name');
|
||||
$organiser->tax_value = $request->get('tax_value');
|
||||
$organiser->tax_id = $request->get('tax_id');
|
||||
$organiser->charge_tax = ($request->get('charge_tax') == 1) ? 1 : 0;
|
||||
|
||||
if ($request->get('remove_current_image') == '1') {
|
||||
$organiser->logo_path = '';
|
||||
|
|
@ -89,7 +88,7 @@ class OrganiserCustomizeController extends MyBaseController
|
|||
*/
|
||||
public function postEditOrganiserPageDesign(Request $request, $organiser_id)
|
||||
{
|
||||
$organiser = Organiser::scope()->findOrFail($organiser_id);
|
||||
$event = Organiser::scope()->findOrFail($organiser_id);
|
||||
|
||||
$rules = [
|
||||
'page_bg_color' => ['required'],
|
||||
|
|
@ -110,11 +109,11 @@ class OrganiserCustomizeController extends MyBaseController
|
|||
]);
|
||||
}
|
||||
|
||||
$organiser->page_bg_color = $request->get('page_bg_color');
|
||||
$organiser->page_header_bg_color = $request->get('page_header_bg_color');
|
||||
$organiser->page_text_color = $request->get('page_text_color');
|
||||
$event->page_bg_color = $request->get('page_bg_color');
|
||||
$event->page_header_bg_color = $request->get('page_header_bg_color');
|
||||
$event->page_text_color = $request->get('page_text_color');
|
||||
|
||||
$organiser->save();
|
||||
$event->save();
|
||||
|
||||
return response()->json([
|
||||
'status' => 'success',
|
||||
|
|
|
|||
|
|
@ -44,4 +44,11 @@ Route::group(['prefix' => 'api', 'middleware' => 'auth:api'], function () {
|
|||
*/
|
||||
|
||||
|
||||
});
|
||||
Route::get('/', function () {
|
||||
return response()->json([
|
||||
'Hello' => Auth::guard('api')->user()->full_name . '!'
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
|
@ -41,6 +41,16 @@ Route::group(
|
|||
'as' => 'logout',
|
||||
]);
|
||||
|
||||
|
||||
Route::get('/terms_and_conditions', [
|
||||
'as' => 'termsAndConditions',
|
||||
function () {
|
||||
return 'TODO: add terms and cond';
|
||||
}
|
||||
]);
|
||||
|
||||
|
||||
|
||||
Route::group(['middleware' => ['installed']], function () {
|
||||
|
||||
/*
|
||||
|
|
@ -149,11 +159,6 @@ Route::group(
|
|||
'uses' => 'EventViewController@postContactOrganiser',
|
||||
]);
|
||||
|
||||
Route::post('/{event_id}/show_hidden', [
|
||||
'as' => 'postShowHiddenTickets',
|
||||
'uses' => 'EventViewController@postShowHiddenTickets',
|
||||
]);
|
||||
|
||||
/*
|
||||
* Used for previewing designs in the backend. Doesn't log page views etc.
|
||||
*/
|
||||
|
|
@ -330,17 +335,28 @@ Route::group(
|
|||
]
|
||||
);
|
||||
|
||||
Route::get('{event_id}/', [
|
||||
'uses' => 'EventDashboardController@redirectToDashboard',
|
||||
]
|
||||
);
|
||||
Route::get('{event_id}', function ($event_id) {
|
||||
return Redirect::route('showEventDashboard', [
|
||||
'event_id' => $event_id,
|
||||
]);
|
||||
});
|
||||
|
||||
/*
|
||||
* @todo Move to a controller
|
||||
*/
|
||||
Route::get('{event_id}/go_live', [
|
||||
'as' => 'MakeEventLive',
|
||||
'uses' => 'EventController@makeEventLive',
|
||||
Route::get('{event_id}/go_live', [
|
||||
'as' => 'MakeEventLive',
|
||||
function ($event_id) {
|
||||
$event = \App\Models\Event::scope()->findOrFail($event_id);
|
||||
$event->is_live = 1;
|
||||
$event->save();
|
||||
\Session::flash('message',
|
||||
'Event Successfully Made Live! You can undo this action in event settings page.');
|
||||
|
||||
return Redirect::route('showEventDashboard', [
|
||||
'event_id' => $event_id,
|
||||
]);
|
||||
}
|
||||
]);
|
||||
|
||||
/*
|
||||
|
|
@ -557,10 +573,12 @@ Route::group(
|
|||
'as' => 'showEventCustomize',
|
||||
'uses' => 'EventCustomizeController@showCustomize',
|
||||
]);
|
||||
|
||||
Route::get('{event_id}/customize/{tab?}', [
|
||||
'as' => 'showEventCustomizeTab',
|
||||
'uses' => 'EventCustomizeController@showCustomize',
|
||||
]);
|
||||
|
||||
Route::post('{event_id}/customize/order_page', [
|
||||
'as' => 'postEditEventOrderPage',
|
||||
'uses' => 'EventCustomizeController@postEditEventOrderPage',
|
||||
|
|
@ -577,11 +595,13 @@ Route::group(
|
|||
'as' => 'postEditEventSocial',
|
||||
'uses' => 'EventCustomizeController@postEditEventSocial',
|
||||
]);
|
||||
|
||||
Route::post('{event_id}/customize/fees', [
|
||||
'as' => 'postEditEventFees',
|
||||
'uses' => 'EventCustomizeController@postEditEventFees',
|
||||
]);
|
||||
|
||||
|
||||
/*
|
||||
* -------
|
||||
* Event Widget page
|
||||
|
|
@ -592,31 +612,6 @@ Route::group(
|
|||
'uses' => 'EventWidgetsController@showEventWidgets',
|
||||
]);
|
||||
|
||||
/*
|
||||
* -------
|
||||
* Event Access Codes page
|
||||
* -------
|
||||
*/
|
||||
Route::get('{event_id}/access_codes', [
|
||||
'as' => 'showEventAccessCodes',
|
||||
'uses' => 'EventAccessCodesController@show',
|
||||
]);
|
||||
|
||||
Route::get('{event_id}/access_codes/create', [
|
||||
'as' => 'showCreateEventAccessCode',
|
||||
'uses' => 'EventAccessCodesController@showCreate',
|
||||
]);
|
||||
|
||||
Route::post('{event_id}/access_codes/create', [
|
||||
'as' => 'postCreateEventAccessCode',
|
||||
'uses' => 'EventAccessCodesController@postCreate',
|
||||
]);
|
||||
|
||||
Route::post('{event_id}/access_codes/{access_code_id}/delete', [
|
||||
'as' => 'postDeleteEventAccessCode',
|
||||
'uses' => 'EventAccessCodesController@postDelete',
|
||||
]);
|
||||
|
||||
/*
|
||||
* -------
|
||||
* Event Survey page
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ use App\Models\Order;
|
|||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Log;
|
||||
|
||||
class SendOrderNotification extends Job implements ShouldQueue
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class SendOrderTickets extends Job implements ShouldQueue
|
|||
*/
|
||||
public function handle(OrderMailer $orderMailer)
|
||||
{
|
||||
$this->dispatchNow(new GenerateTicket($this->order->order_reference));
|
||||
//$this->dispatchNow(new GenerateTicket($this->order->order_reference));
|
||||
$orderMailer->sendOrderTickets($this->order);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class OrderMailer
|
|||
|
||||
Mail::send('Emails.OrderNotification', $data, function ($message) use ($order) {
|
||||
$message->to($order->account->email);
|
||||
$message->subject(trans("Controllers.new_order_received", ["event"=> $order->event->title, "order" => $order->order_reference]));
|
||||
$message->subject('New order received on the event ' . $order->event->title . ' [' . $order->order_reference . ']');
|
||||
});
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
/*
|
||||
Attendize.com - Event Management & Ticketing
|
||||
|
|
@ -45,16 +44,8 @@ class Attendee extends MyBaseModel
|
|||
parent::boot();
|
||||
|
||||
static::creating(function ($order) {
|
||||
|
||||
do {
|
||||
//generate a random string using Laravel's str_random helper
|
||||
$token = Str::Random(15);
|
||||
} //check if the token already exists and if it does, try again
|
||||
|
||||
while (Attendee::where('private_reference_number', $token)->first());
|
||||
$order->private_reference_number = $token;
|
||||
$order->private_reference_number = str_pad(random_int(0, pow(10, 9) - 1), 9, '0', STR_PAD_LEFT);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ namespace App\Models;
|
|||
use File;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use PDF;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class Order extends MyBaseModel
|
||||
{
|
||||
|
|
@ -33,10 +32,6 @@ class Order extends MyBaseModel
|
|||
'order_email.email' => 'Please enter a valid email',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'is_business' => 'boolean',
|
||||
];
|
||||
|
||||
/**
|
||||
* The items associated with the order.
|
||||
*
|
||||
|
|
@ -180,14 +175,7 @@ class Order extends MyBaseModel
|
|||
parent::boot();
|
||||
|
||||
static::creating(function ($order) {
|
||||
do {
|
||||
//generate a random string using Laravel's str_random helper
|
||||
$token = Str::Random(5) . date('jn');
|
||||
} //check if the token already exists and if it does, try again
|
||||
|
||||
while (Order::where('order_reference', $token)->first());
|
||||
$order->order_reference = $token;
|
||||
|
||||
});
|
||||
$order->order_reference = strtoupper(str_random(5)) . date('jn');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -73,19 +73,6 @@ class Ticket extends MyBaseModel
|
|||
return $this->belongsToMany(\App\Models\Question::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
|
||||
*/
|
||||
function event_access_codes()
|
||||
{
|
||||
return $this->belongsToMany(
|
||||
EventAccessCodes::class,
|
||||
'ticket_event_access_code',
|
||||
'ticket_id',
|
||||
'event_access_code_id'
|
||||
)->withTimestamps();
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO:implement the reserved method.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ class HelpersServiceProvider extends ServiceProvider
|
|||
{
|
||||
require app_path('Helpers/helpers.php');
|
||||
require app_path('Helpers/macros.php');
|
||||
require app_path('Helpers/strings.php');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -67,11 +67,8 @@ return [
|
|||
'default_datetime_format' => env('DEFAULT_DATETIME_FORMAT', 'Y-m-d H:i'),
|
||||
'default_query_cache' => 120, #Minutes
|
||||
'default_locale' => 'en',
|
||||
'default_payment_gateway' => 1, #Stripe=1 Paypal=2
|
||||
'default_payment_gateway' => 1, #Stripe=1 Paypal=2 BitPay=3 MIGS=4
|
||||
|
||||
'cdn_url_user_assets' => '',
|
||||
'cdn_url_static_assets' => '',
|
||||
|
||||
'google_analytics_id' => env('GOOGLE_ANALYTICS_ID'),
|
||||
'google_maps_geocoding_key' => env('GOOGLE_MAPS_GEOCODING_KEY')
|
||||
'cdn_url_static_assets' => ''
|
||||
];
|
||||
|
|
|
|||
20
package.json
20
package.json
|
|
@ -4,20 +4,20 @@
|
|||
"description": "Attendize Ticketing Platform",
|
||||
"main": "public/index.php",
|
||||
"dependencies": {
|
||||
"less": "^3.9.0"
|
||||
"less": "~1.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bower": "^1.8.8",
|
||||
"grunt": "^1.0.3",
|
||||
"grunt-cli": "^1.3.2",
|
||||
"grunt-contrib-concat": "^1.0.1",
|
||||
"grunt-contrib-less": "^2.0.0",
|
||||
"grunt-contrib-uglify": "^4.0.0",
|
||||
"grunt-contrib-watch": "^1.1.0",
|
||||
"laravel-elixir": "6.0.0-18"
|
||||
"bower": "^1.8.4",
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-cli": "^1.2.0",
|
||||
"grunt-contrib-concat": "^0.5.1",
|
||||
"grunt-contrib-less": "^0.12.0",
|
||||
"grunt-contrib-uglify": "^0.6.0",
|
||||
"grunt-contrib-watch": "^0.6.1",
|
||||
"gulp": "^3.8.8",
|
||||
"laravel-elixir": "*"
|
||||
},
|
||||
"scripts": {
|
||||
"build-frontend": "grunt",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
|
|
|
|||
|
|
@ -176,45 +176,7 @@ $(function() {
|
|||
|
||||
}).change();
|
||||
|
||||
// Apply access code here to unlock hidden tickets
|
||||
$('#apply_access_code').click(function(e) {
|
||||
var $clicked = $(this);
|
||||
// Hide any previous errors
|
||||
$clicked.closest('.form-group')
|
||||
.removeClass('has-error');
|
||||
|
||||
var url = $clicked.closest('.has-access-codes').data('url');
|
||||
var data = {
|
||||
'access_code': $('#unlock_code').val(),
|
||||
'_token': $('input:hidden[name=_token]').val()
|
||||
};
|
||||
|
||||
$.post(url, data, function(response) {
|
||||
if (response.status === 'error') {
|
||||
// Show any access code errors
|
||||
$clicked.closest('.form-group').addClass('has-error');
|
||||
showMessage(response.message);
|
||||
return;
|
||||
}
|
||||
|
||||
$clicked.closest('.has-access-codes').before(response);
|
||||
$('#unlock_code').val('');
|
||||
$clicked.closest('.has-access-codes').remove();
|
||||
});
|
||||
});
|
||||
|
||||
$('#is_business').click(function(e) {
|
||||
var $isBusiness = $(this);
|
||||
var isChecked = $isBusiness.hasClass('checked');
|
||||
|
||||
if (isChecked == undefined || isChecked === false) {
|
||||
$isBusiness.addClass('checked');
|
||||
$('#business_details').removeClass('hidden').show();
|
||||
} else {
|
||||
$isBusiness.removeClass('checked');
|
||||
$('#business_details').addClass('hidden').hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function processFormErrors($form, errors)
|
||||
|
|
|
|||
|
|
@ -228,10 +228,6 @@ $(function () {
|
|||
showMessage(data.message);
|
||||
}
|
||||
|
||||
if (typeof data.redirectUrl !== 'undefined') {
|
||||
window.location.href = data.redirectUrl;
|
||||
}
|
||||
|
||||
switch (data.status) {
|
||||
case 'success':
|
||||
$('#' + deleteType + '_' + deleteId).fadeOut();
|
||||
|
|
|
|||
|
|
@ -6694,7 +6694,6 @@ $.cf = {
|
|||
oDTP._setTimeFormatArray(); // Set TimeFormatArray
|
||||
oDTP._setDateTimeFormatArray(); // Set DateTimeFormatArray
|
||||
|
||||
console.log($(oDTP.element).data('parentelement') + " " + $(oDTP.element).attr('data-parentelement'));
|
||||
if($(oDTP.element).data('parentelement') !== undefined)
|
||||
{
|
||||
oDTP.settings.parentElement = $(oDTP.element).data('parentelement');
|
||||
|
|
@ -7912,8 +7911,7 @@ $.cf = {
|
|||
{
|
||||
$(document).on("click.DateTimePicker", function(e)
|
||||
{
|
||||
if (oDTP.oData.bElemFocused)
|
||||
oDTP._hidePicker("");
|
||||
oDTP._hidePicker("");
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -9630,10 +9628,6 @@ $.cf = {
|
|||
showMessage(data.message);
|
||||
}
|
||||
|
||||
if (typeof data.redirectUrl !== 'undefined') {
|
||||
window.location.href = data.redirectUrl;
|
||||
}
|
||||
|
||||
switch (data.status) {
|
||||
case 'success':
|
||||
$('#' + deleteType + '_' + deleteId).fadeOut();
|
||||
|
|
|
|||
|
|
@ -107,27 +107,9 @@ var checkinApp = new Vue({
|
|||
}
|
||||
|
||||
qrcode.callback = this.QrCheckin;
|
||||
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia;
|
||||
|
||||
// FIX SAFARI CAMERA
|
||||
if (navigator.mediaDevices === undefined) {
|
||||
navigator.mediaDevices = {};
|
||||
}
|
||||
|
||||
if (navigator.mediaDevices.getUserMedia === undefined) {
|
||||
navigator.mediaDevices.getUserMedia = function(constraints) {
|
||||
var getUserMedia = navigator.webkitGetUserMedia || navigator.mozGetUserMedia;
|
||||
|
||||
if (!getUserMedia) {
|
||||
return Promise.reject(new Error('getUserMedia is not implemented in this browser'));
|
||||
}
|
||||
|
||||
return new Promise(function(resolve, reject) {
|
||||
getUserMedia.call(navigator, constraints, resolve, reject);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
navigator.mediaDevices.getUserMedia({
|
||||
navigator.getUserMedia({
|
||||
video: {
|
||||
facingMode: 'environment'
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4744,45 +4744,7 @@ function log() {
|
|||
|
||||
}).change();
|
||||
|
||||
// Apply access code here to unlock hidden tickets
|
||||
$('#apply_access_code').click(function(e) {
|
||||
var $clicked = $(this);
|
||||
// Hide any previous errors
|
||||
$clicked.closest('.form-group')
|
||||
.removeClass('has-error');
|
||||
|
||||
var url = $clicked.closest('.has-access-codes').data('url');
|
||||
var data = {
|
||||
'access_code': $('#unlock_code').val(),
|
||||
'_token': $('input:hidden[name=_token]').val()
|
||||
};
|
||||
|
||||
$.post(url, data, function(response) {
|
||||
if (response.status === 'error') {
|
||||
// Show any access code errors
|
||||
$clicked.closest('.form-group').addClass('has-error');
|
||||
showMessage(response.message);
|
||||
return;
|
||||
}
|
||||
|
||||
$clicked.closest('.has-access-codes').before(response);
|
||||
$('#unlock_code').val('');
|
||||
$clicked.closest('.has-access-codes').remove();
|
||||
});
|
||||
});
|
||||
|
||||
$('#is_business').click(function(e) {
|
||||
var $isBusiness = $(this);
|
||||
var isChecked = $isBusiness.hasClass('checked');
|
||||
|
||||
if (isChecked == undefined || isChecked === false) {
|
||||
$isBusiness.addClass('checked');
|
||||
$('#business_details').removeClass('hidden').show();
|
||||
} else {
|
||||
$isBusiness.removeClass('checked');
|
||||
$('#business_details').addClass('hidden').hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function processFormErrors($form, errors)
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,3 +1,5 @@
|
|||
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700);
|
||||
|
||||
@import "../../vendor/bootstrap/less/bootstrap.less";
|
||||
// Copied the bootstrap vars file to allow customisation
|
||||
@import "bootstrap_custom_variables.less";
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -171,16 +171,4 @@ h6 > small {
|
|||
.fsize80 { font-size: 80px; }
|
||||
.fsize96 { font-size: 96px; }
|
||||
.fsize112 { font-size: 112px; }
|
||||
.fsize128 { font-size: 128px; }
|
||||
|
||||
/* Alignments
|
||||
-------------------------------*/
|
||||
.has-text-left {
|
||||
text-align: left;
|
||||
}
|
||||
.has-text-center {
|
||||
text-align: center;
|
||||
}
|
||||
.has-text-right {
|
||||
text-align: right;
|
||||
}
|
||||
.fsize128 { font-size: 128px; }
|
||||
|
|
@ -1,9 +1,12 @@
|
|||
@import url(https://fonts.googleapis.com/css?family=Open+Sans:100,400,300);
|
||||
@import url(https://fonts.googleapis.com/css?family=Roboto:300,100);
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
}
|
||||
|
||||
table {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "datetimepicker",
|
||||
|
||||
"description": "Responsive flat design jQuery DateTime Picker plugin for Web & Mobile",
|
||||
|
||||
"keywords": [
|
||||
"date",
|
||||
"time",
|
||||
|
|
@ -14,30 +12,37 @@
|
|||
"timepicker",
|
||||
"input"
|
||||
],
|
||||
|
||||
"version": "0.1.38",
|
||||
|
||||
"homepage": "https://nehakadam.github.io/DateTimePicker/",
|
||||
|
||||
"main": ["dist/DateTimePicker.min.js", "dist/DateTimePicker.min.css"],
|
||||
|
||||
"authors": [
|
||||
{"name": "nehakadam"}
|
||||
"main": [
|
||||
"dist/DateTimePicker.min.js",
|
||||
"dist/DateTimePicker.min.css"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "nehakadam"
|
||||
}
|
||||
],
|
||||
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com:nehakadam/DateTimePicker.git"
|
||||
},
|
||||
|
||||
"devDependencies": {
|
||||
"jquery": ">=1.0.0"
|
||||
},
|
||||
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"node_modules",
|
||||
"package.json"
|
||||
]
|
||||
|
||||
}
|
||||
],
|
||||
"_release": "0.1.38",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "0.1.38",
|
||||
"commit": "36d272ac90c93ef45c5b8b228a517a932a0778bd"
|
||||
},
|
||||
"_source": "https://github.com/nehakadam/DateTimePicker.git",
|
||||
"_target": "^0.1.38",
|
||||
"_originalSource": "flat-datetimepicker",
|
||||
"_direct": true
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@ module.exports = function(grunt)
|
|||
var sBanner = '/* ----------------------------------------------------------------------------- ' +
|
||||
'\n\n jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile' +
|
||||
'\n Version <%= pkg.version %>' +
|
||||
'\n Copyright (c)2014-<%= grunt.template.today("yyyy") %> Lajpat Shah' +
|
||||
'\n Copyright (c)<%= grunt.template.today("yyyy") %> Lajpat Shah' +
|
||||
'\n Contributors : https://github.com/nehakadam/DateTimePicker/contributors' +
|
||||
'\n Repository : https://github.com/nehakadam/DateTimePicker' +
|
||||
'\n Documentation : https://nehakadam.github.io/DateTimePicker' +
|
||||
|
|
@ -23,12 +23,12 @@ module.exports = function(grunt)
|
|||
options:
|
||||
{
|
||||
separator: '\n\n\n\n',
|
||||
stripBanners: true,
|
||||
stripBanners: true,
|
||||
banner: sBanner
|
||||
},
|
||||
|
||||
src: ['src/i18n/*', '!src/i18n/DateTimePicker-i18n.js'],
|
||||
dest: 'src/i18n/DateTimePicker-i18n.js',
|
||||
src: ['src/i18n/*', '!src/i18n/DateTimePicker-i18n.js'],
|
||||
dest: 'src/i18n/DateTimePicker-i18n.js',
|
||||
nonull: true
|
||||
}
|
||||
},
|
||||
|
|
@ -59,8 +59,8 @@ module.exports = function(grunt)
|
|||
{
|
||||
banner: sBanner,
|
||||
compress: {
|
||||
drop_console: true
|
||||
}
|
||||
drop_console: true
|
||||
}
|
||||
},
|
||||
build:
|
||||
{
|
||||
|
|
@ -98,10 +98,12 @@ module.exports = function(grunt)
|
|||
options:
|
||||
{
|
||||
strict: false,
|
||||
|
||||
curly: false,
|
||||
eqeqeq: true,
|
||||
eqnull: true,
|
||||
browser: true,
|
||||
|
||||
eqeqeq: true,
|
||||
eqnull: true,
|
||||
browser: true,
|
||||
devel: true,
|
||||
//unused: true,
|
||||
//undef: true,
|
||||
|
|
@ -109,14 +111,14 @@ module.exports = function(grunt)
|
|||
globals:
|
||||
{
|
||||
$: false,
|
||||
jQuery: false,
|
||||
define: false,
|
||||
require: false,
|
||||
module: false,
|
||||
DateTimePicker: true
|
||||
},
|
||||
jQuery: false,
|
||||
define: false,
|
||||
require: false,
|
||||
module: false,
|
||||
DateTimePicker: true
|
||||
},
|
||||
|
||||
force: true
|
||||
force: true
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -145,9 +147,8 @@ module.exports = function(grunt)
|
|||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-csslint');
|
||||
|
||||
// Default task(s).
|
||||
//
|
||||
grunt.registerTask('default', ['uglify', 'cssmin', 'copy']);
|
||||
grunt.registerTask('lang', ['concat:lang', 'copy:lang']);
|
||||
grunt.registerTask('lint', ['jshint', 'csslint']);
|
||||
// Default task(s).
|
||||
grunt.registerTask('default', ['uglify', 'cssmin', 'copy']);
|
||||
grunt.registerTask('lang', ['concat:lang', 'copy:lang']);
|
||||
grunt.registerTask('lint', ['jshint', 'csslint']);
|
||||
};
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2019 Lajpat Shah
|
||||
Copyright (c) 2017 Lajpat Shah
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Users can change values using +/- buttons or type values directly into the textb
|
|||
For web, picker can be binded relative to reference element, were it will appear at the bottom of the element. For mobile, the picker can appear as a dialog box covering entire window.
|
||||
|
||||
|
||||
## Browser Support
|
||||
##Browser Support
|
||||
- Chrome, Firefox, Safari, Opera, IE 6+
|
||||
- Android 2.3+, iOS 6+, Windows Phone 8
|
||||
|
||||
|
|
@ -20,7 +20,7 @@ For web, picker can be binded relative to reference element, were it will appear
|
|||
For demo & api documentation visit [Plugin Page](http://nehakadam.github.io/DateTimePicker/)
|
||||
|
||||
|
||||
## Build System
|
||||
##Build System
|
||||
|
||||
- Install devDependencies listed in "package.json"
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ Tasks configured in "Gruntfile.js"
|
|||
- Minify "src/DateTimePicker.css" to "dist/DateTimePicker.min.css"
|
||||
|
||||
|
||||
## Installations
|
||||
##Installations
|
||||
|
||||
- npm
|
||||
|
||||
|
|
@ -44,39 +44,35 @@ Tasks configured in "Gruntfile.js"
|
|||
|
||||
- bower
|
||||
|
||||
`bower install flat-datetimepicker`
|
||||
`bower install curioussolutions-datetimepicker`
|
||||
|
||||
## CDN
|
||||
##CDN
|
||||
DateTimePicker is hosted on [jsDelivr](http://www.jsdelivr.com).
|
||||
|
||||
Files - Latest
|
||||
|
||||
```
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/datetimepicker@latest/dist/DateTimePicker.min.css" />
|
||||
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/datetimepicker@latest/dist/DateTimePicker.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/datetimepicker/latest/DateTimePicker.min.css" />
|
||||
<script type="text/javascript" src="//cdn.jsdelivr.net/datetimepicker/latest/DateTimePicker.min.js"></script>
|
||||
```
|
||||
|
||||
Files - Particular Version
|
||||
|
||||
```
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/datetimepicker@<version>/dist/DateTimePicker.min.css" />
|
||||
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/datetimepicker@<version>/dist/DateTimePicker.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/datetimepicker/<version>/DateTimePicker.min.css" />
|
||||
<script type="text/javascript" src="//cdn.jsdelivr.net/datetimepicker/<version>/DateTimePicker.min.js"></script>
|
||||
```
|
||||
|
||||
## Authors
|
||||
##Authors
|
||||
[Neha Kadam](https://github.com/nehakadam): Developer
|
||||
|
||||
Special Thanks:
|
||||
- [Jean-Christophe Hoelt](https://github.com/j3k0) - NPM packaging. Few customization options.
|
||||
- [All Contributors](https://github.com/nehakadam/DateTimePicker/contributors)
|
||||
|
||||
|
||||
Copyright 2014-2019 [Lajpat Shah](https://github.com/lajpatshah)
|
||||
Copyright 2017 [Lajpat Shah](https://github.com/lajpatshah)
|
||||
|
||||
|
||||
**I can not actively maintain or reply quickly due to time constraints, please consider this point before using plugin.**
|
||||
|
||||
|
||||
## License
|
||||
##License
|
||||
|
||||
Licensed under the MIT License
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.17
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://nehakadam.github.io/DateTimePicker
|
||||
Documentation : https://github.com/nehakadam/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -1 +1,13 @@
|
|||
.dtpicker-cont{top:25%}.dtpicker-overlay{zoom:1!important}
|
||||
/* -----------------------------------------------------------------------------
|
||||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
.dtpicker-cont{top:25%}.dtpicker-overlay{-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#20000000, endColorstr=#20000000)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#20000000, endColorstr=#20000000);zoom:1!important}
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
@ -300,7 +300,6 @@ $.cf = {
|
|||
oDTP._setTimeFormatArray(); // Set TimeFormatArray
|
||||
oDTP._setDateTimeFormatArray(); // Set DateTimeFormatArray
|
||||
|
||||
console.log($(oDTP.element).data('parentelement') + " " + $(oDTP.element).attr('data-parentelement'));
|
||||
if($(oDTP.element).data('parentelement') !== undefined)
|
||||
{
|
||||
oDTP.settings.parentElement = $(oDTP.element).data('parentelement');
|
||||
|
|
@ -1518,8 +1517,7 @@ $.cf = {
|
|||
{
|
||||
$(document).on("click.DateTimePicker", function(e)
|
||||
{
|
||||
if (oDTP.oData.bElemFocused)
|
||||
oDTP._hidePicker("");
|
||||
oDTP._hidePicker("");
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1,13 @@
|
|||
.dtpicker-overlay{z-index:2000;display:none;min-width:300px;background:rgba(0,0,0,.2);font-size:12px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dtpicker-mobile{position:fixed;top:0;left:0;width:100%;height:100%}.dtpicker-overlay *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-ms-box-sizing:border-box;-webkit-tap-highlight-color:transparent}.dtpicker-bg{width:100%;height:100%;font-family:Arial}.dtpicker-cont{border:1px solid #ecf0f1}.dtpicker-mobile .dtpicker-cont{position:relative;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-o-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);border:none}.dtpicker-content{margin:0 auto;padding:1em 0;max-width:500px;background:#fff}.dtpicker-mobile .dtpicker-content{width:97%}.dtpicker-subcontent{position:relative}.dtpicker-header{margin:.2em 1em}.dtpicker-header .dtpicker-title{color:#2980b9;text-align:center;font-size:1.1em}.dtpicker-header .dtpicker-close{position:absolute;top:-.7em;right:.3em;padding:.5em .5em 1em 1em;color:#ff3b30;font-size:1.5em;cursor:pointer}.dtpicker-header .dtpicker-close:hover{color:#ff3b30}.dtpicker-header .dtpicker-value{padding:.8em .2em .2em .2em;color:#ff3b30;text-align:center;font-size:1.4em}.dtpicker-components{overflow:hidden;margin:1em 1em;font-size:1.3em}.dtpicker-components *{margin:0;padding:0}.dtpicker-components .dtpicker-compOutline{display:inline-block;float:left}.dtpicker-comp2{width:50%}.dtpicker-comp3{width:33.3%}.dtpicker-comp4{width:25%}.dtpicker-comp5{width:20%}.dtpicker-comp6{width:16.66%}.dtpicker-comp7{width:14.285%}.dtpicker-components .dtpicker-comp{margin:2%;text-align:center}.dtpicker-components .dtpicker-comp>*{display:block;height:30px;color:#2980b9;text-align:center;line-height:30px}.dtpicker-components .dtpicker-comp>:hover{color:#2980b9}.dtpicker-components .dtpicker-compButtonEnable{opacity:1}.dtpicker-components .dtpicker-compButtonDisable{opacity:.5}.dtpicker-components .dtpicker-compButton{background:#fff;font-size:140%;cursor:pointer}.dtpicker-components .dtpicker-compValue{margin:.4em 0;width:100%;border:none;background:#fff;font-size:100%;-webkit-appearance:none;-moz-appearance:none}.dtpicker-overlay .dtpicker-compValue:focus{outline:0;background:#f2fcff}.dtpicker-buttonCont{overflow:hidden;margin:.2em 1em}.dtpicker-buttonCont .dtpicker-button{display:block;padding:.6em 0;width:47%;background:#ff3b30;color:#fff;text-align:center;font-size:1.3em;cursor:pointer}.dtpicker-buttonCont .dtpicker-button:hover{color:#fff}.dtpicker-singleButton .dtpicker-button{margin:.2em auto}.dtpicker-twoButtons .dtpicker-buttonSet{float:left}.dtpicker-twoButtons .dtpicker-buttonClear{float:right}
|
||||
/* -----------------------------------------------------------------------------
|
||||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
.dtpicker-overlay{z-index:2000;display:none;min-width:300px;background:rgba(0,0,0,.2);font-size:12px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dtpicker-mobile{position:fixed;top:0;left:0;width:100%;height:100%}.dtpicker-overlay *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-ms-box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.dtpicker-bg{width:100%;height:100%;font-family:Arial}.dtpicker-cont{border:1px solid #ECF0F1}.dtpicker-mobile .dtpicker-cont{position:relative;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-o-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);border:0}.dtpicker-content{margin:0 auto;padding:1em 0;max-width:500px;background:#fff}.dtpicker-mobile .dtpicker-content{width:97%}.dtpicker-subcontent{position:relative}.dtpicker-header{margin:.2em 1em}.dtpicker-header .dtpicker-title{color:#2980B9;text-align:center;font-size:1.1em}.dtpicker-header .dtpicker-close{position:absolute;top:-.7em;right:.3em;padding:.5em .5em 1em 1em;color:#FF3B30;font-size:1.5em;cursor:pointer}.dtpicker-header .dtpicker-close:hover{color:#FF3B30}.dtpicker-header .dtpicker-value{padding:.8em .2em .2em;color:#FF3B30;text-align:center;font-size:1.4em}.dtpicker-components{overflow:hidden;margin:1em;font-size:1.3em}.dtpicker-components *{margin:0;padding:0}.dtpicker-components .dtpicker-compOutline{display:inline-block;float:left}.dtpicker-comp2{width:50%}.dtpicker-comp3{width:33.3%}.dtpicker-comp4{width:25%}.dtpicker-comp5{width:20%}.dtpicker-comp6{width:16.66%}.dtpicker-comp7{width:14.285%}.dtpicker-components .dtpicker-comp{margin:2%;text-align:center}.dtpicker-components .dtpicker-comp>*{display:block;height:30px;color:#2980B9;text-align:center;line-height:30px}.dtpicker-components .dtpicker-comp>:hover{color:#2980B9}.dtpicker-components .dtpicker-compButtonEnable{opacity:1}.dtpicker-components .dtpicker-compButtonDisable{opacity:.5}.dtpicker-components .dtpicker-compButton{background:#FFF;font-size:140%;cursor:pointer}.dtpicker-components .dtpicker-compValue{margin:.4em 0;width:100%;border:0;background:#FFF;font-size:100%;-webkit-appearance:none;-moz-appearance:none}.dtpicker-overlay .dtpicker-compValue:focus{outline:0;background:#F2FCFF}.dtpicker-buttonCont{overflow:hidden;margin:.2em 1em}.dtpicker-buttonCont .dtpicker-button{display:block;padding:.6em 0;width:47%;background:#FF3B30;color:#FFF;text-align:center;font-size:1.3em;cursor:pointer}.dtpicker-buttonCont .dtpicker-button:hover{color:#FFF}.dtpicker-singleButton .dtpicker-button{margin:.2em auto}.dtpicker-twoButtons .dtpicker-buttonSet{float:left}.dtpicker-twoButtons .dtpicker-buttonClear{float:right}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.17
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://nehakadam.github.io/DateTimePicker
|
||||
Documentation : https://github.com/nehakadam/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
@ -300,7 +300,6 @@ $.cf = {
|
|||
oDTP._setTimeFormatArray(); // Set TimeFormatArray
|
||||
oDTP._setDateTimeFormatArray(); // Set DateTimeFormatArray
|
||||
|
||||
console.log($(oDTP.element).data('parentelement') + " " + $(oDTP.element).attr('data-parentelement'));
|
||||
if($(oDTP.element).data('parentelement') !== undefined)
|
||||
{
|
||||
oDTP.settings.parentElement = $(oDTP.element).data('parentelement');
|
||||
|
|
@ -1518,8 +1517,7 @@ $.cf = {
|
|||
{
|
||||
$(document).on("click.DateTimePicker", function(e)
|
||||
{
|
||||
if (oDTP.oData.bElemFocused)
|
||||
oDTP._hidePicker("");
|
||||
oDTP._hidePicker("");
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
|
||||
Version 0.1.38
|
||||
Copyright (c)2014-2019 Lajpat Shah
|
||||
Copyright (c)2017 Lajpat Shah
|
||||
Contributors : https://github.com/nehakadam/DateTimePicker/contributors
|
||||
Repository : https://github.com/nehakadam/DateTimePicker
|
||||
Documentation : https://nehakadam.github.io/DateTimePicker
|
||||
|
|
|
|||
21
readme.md
21
readme.md
|
|
@ -1,6 +1,6 @@
|
|||
<p align="center">
|
||||
<img src="http://attendize.website/assets/images/logo-dark.png" alt="Attendize"/>
|
||||
<img style='border: 1px solid #444;' src="https://www.attendize.com/images/screenshots/screen1.PNG" alt="Attendize"/>
|
||||
<img src="https://www.attendize.com/img/logo-dark.png" alt="Attendize"/>
|
||||
<img style='border: 1px solid #444;' src="https://attendize.com/img/screenshots/screen1.PNG" alt="Attendize"/>
|
||||
</p>
|
||||
|
||||
<h1>Attendize</h1>
|
||||
|
|
@ -50,15 +50,6 @@ Demo Back-end Demo: http://attendize.website/signup<br />
|
|||
---
|
||||
Feel free to fork and contribute. If you are unsure about adding a feature create a Github issue to ask for Feedback. Read the [contribution guidelines](http://www.attendize.com/contributions.html)
|
||||
|
||||
### Submitting an issue
|
||||
If you are creating an issue/bug report for Attendize please let us know the following.
|
||||
1. The version of Attendize you are using. e.g. master branch or release tag.
|
||||
2. Are you running Attendize in Docker or using a Virtual Machine.
|
||||
3. What version or Operating System are you using. e.g. Ubuntu 14.04
|
||||
4. The version of PHP you are using. e.g PHP 7.1
|
||||
5. Are you using Attendize with Nginx or Apache.
|
||||
6. Steps to reproduce the bug.
|
||||
|
||||
### Installation
|
||||
---
|
||||
To get developing straight away use the [Pre-configured Docker Environment](http://www.attendize.com/getting_started.html#running-attendize-in-docker-for-development)<br />
|
||||
|
|
@ -75,12 +66,12 @@ Attendize is open-sourced software licensed under the Attribution Assurance Lice
|
|||
|
||||
Contributors
|
||||
---
|
||||
* Jeremy Quinton ([Github](https://github.com/jeremyquinton))
|
||||
* Sam Bell ([Github](https://github.com/samdb))
|
||||
* Sebastian Schmidt ([Github](https://github.com/publicarray))
|
||||
|
||||
* Brett B ([Github](https://github.com/bretto36))
|
||||
* G0dLik3 ([Github](https://github.com/G0dLik3))
|
||||
* Honoré Hounwanou ([Github](http://github.com/mercuryseries))
|
||||
* Honoré Hounwanou ([Github](http://github.com/mercuryseries)) <mercuryseries@gmail.com>
|
||||
* James Campbell ([Github](https://github.com/jncampbell))
|
||||
* JapSeyz ([Github](https://github.com/JapSeyz))
|
||||
* Mark Walet ([Github](https://github.com/markwalet))
|
||||
* Jeremy Quinton ([Github](https://github.com/jeremyquinton))
|
||||
* Sebastian Schmidt ([Github](https://github.com/publicarray))
|
||||
|
|
|
|||
|
|
@ -68,7 +68,6 @@ return array (
|
|||
'login_password_incorrect' => 'Your username/password combination was incorrect',
|
||||
'maximum_refund_amount' => 'The maximum amount you can refund is :money',
|
||||
'message_successfully_sent' => 'Message Successfully Sent!',
|
||||
'new_order_received' => 'New order received on the event :event [:order]',
|
||||
'no_organiser_name_error' => 'You must give a name for the event organiser.',
|
||||
'nothing_to_do' => 'Nothing to do',
|
||||
'nothing_to_refund' => 'Nothing to refund.',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/*************************************************************************
|
||||
Generated via "php artisan localization:missing" at 2018/04/26 10:54:45
|
||||
Generated via "php artisan localization:missing" at 2018/04/26 10:54:45
|
||||
*************************************************************************/
|
||||
|
||||
return array (
|
||||
|
|
@ -21,27 +21,18 @@ return array (
|
|||
'event_end_date' => 'Event End Date',
|
||||
'event_flyer' => 'Event Flyer',
|
||||
'event_image' => 'Event Image (Flyer or Graphic etc.)',
|
||||
'event_image_position' => 'Event Image Position',
|
||||
'event_image_position_hide' => 'Hidden',
|
||||
'event_image_position_before' => 'Before',
|
||||
'event_image_position_after' => 'After',
|
||||
'event_image_position_left' => 'Left',
|
||||
'event_image_position_right' => 'Right',
|
||||
'event_orders' => 'Event Orders',
|
||||
'event_start_date' => 'Event Start Date',
|
||||
'event_title' => 'Event Title',
|
||||
'event_title_placeholder' => 'E.g: :name\'s Interational Conference',
|
||||
'event_visibility' => 'Event Visibility',
|
||||
'go_live' => 'Event Successfully Made Live! You can undo this action in event settings page.',
|
||||
'n_attendees_for_event' => ':num Attendee(s) for event: :name (:date)',
|
||||
'no_events_yet' => 'No Event Yet!',
|
||||
'no_events_yet_text' => 'Looks like you have yet to create an event. You can create one by clicking the button below.',
|
||||
'num_events' => ':num Events',
|
||||
'or(manual/existing_venue)' => 'or',
|
||||
'payment_cancelled' => 'You cancelled your payment. You may try again.',
|
||||
'post_code' => 'Post Code',
|
||||
'post_code_placeholder' => 'E.g: 94568.',
|
||||
'print_attendees_title' => 'Attendees',
|
||||
'promote' => 'Promote',
|
||||
'promote_event' => 'Promote Event',
|
||||
'revenue' => 'Revenue',
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ return array (
|
|||
'confirm_order_cancel' => 'Confirm Order Cancel',
|
||||
'create_attendees' => 'Create Attendees',
|
||||
'create_ticket' => 'Create Ticket',
|
||||
'default_currency' => 'Default currency',
|
||||
'download_pdf_ticket' => 'Download PDF Ticket',
|
||||
'edit_attendee' => 'Edit Attendee',
|
||||
'edit_attendee_title' => 'Edit :attendee',
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ return array (
|
|||
'offline_payment_settings' => 'Offline Payment Settings',
|
||||
'order_attendees' => 'Order Attendees',
|
||||
'order_date' => 'Order Date',
|
||||
'order_items' => 'Order Items',
|
||||
'order_page_settings' => 'Order Page Settings',
|
||||
'order_ref' => 'Reference',
|
||||
'organiser_booking_fees' => 'Organiser Booking Fees',
|
||||
|
|
@ -38,7 +37,6 @@ return array (
|
|||
'reference' => 'Reference',
|
||||
'refund/cancel' => 'Refund / Cancel',
|
||||
'registered' => 'registered',
|
||||
'search_placeholder' => 'Search Orders..',
|
||||
'status' => 'Status',
|
||||
'sub_total' => 'Sub Total',
|
||||
'ticket' => 'Ticket',
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@ return array (
|
|||
'events' => 'Events',
|
||||
'google_analytics_code' => 'Google Analytics Code',
|
||||
'google_analytics_code_placeholder' => 'UA-XXXXX-X',
|
||||
'google_tag_manager_code' => 'Google Tag Manager Code',
|
||||
'google_tag_manager_code_placeholder' => 'GTM-XXXXX',
|
||||
'header_background_color' => 'Header Background Color',
|
||||
'hide_additional_organiser_options' => 'Hide Additional Organiser Options',
|
||||
'make_organiser_hidden' => 'Hide organiser page from the public.',
|
||||
|
|
@ -67,7 +65,6 @@ return array (
|
|||
'yes' => 'Yes',
|
||||
'no' => 'No',
|
||||
'sales_volume' => 'Sales Volume',
|
||||
'search_placeholder' => 'Search Events..',
|
||||
'select_an_organiser' => 'Select An Organiser',
|
||||
'select_organiser' => 'Select Organiser',
|
||||
'text_color' => 'Text Color',
|
||||
|
|
|
|||
|
|
@ -16,15 +16,6 @@ return [
|
|||
'below_tickets' => 'Choose the number of tickets and click "register". On the next screen you\'ll pay for them.',
|
||||
'booking_fee' => 'Booking Fee',
|
||||
'booking_fees' => 'Booking Fees',
|
||||
'is_business' => 'Are you a tax registered business?',
|
||||
'business_name' => 'Business Name',
|
||||
'business_tax_number' => 'Business Tax Number',
|
||||
'business_address' => 'Business Address',
|
||||
'business_address_line1' => 'Line 1',
|
||||
'business_address_line2' => 'Line 2',
|
||||
'business_address_state_province' => 'State/Province',
|
||||
'business_address_city' => 'City',
|
||||
'business_address_code' => 'Code',
|
||||
'card_number' => 'Card number',
|
||||
'checkout_submit' => 'Checkout',
|
||||
'confirmation_email' => 'and a confirmation email have been sent to you.',
|
||||
|
|
@ -45,9 +36,7 @@ return [
|
|||
'expiry_year' => 'Expiry year',
|
||||
'first_name' => 'First name',
|
||||
'free' => 'FREE',
|
||||
'has_unlock_codes' => 'Do you have an unlock code?',
|
||||
'inc_fees' => 'Booking Fees',
|
||||
'grand_total' => 'Grand Total',
|
||||
'last_name' => 'Last name',
|
||||
'offline_payment_instructions' => 'Offline payment instructions',
|
||||
'offline_payment_methods_available' => 'Offline Payment Methods Available',
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ return array (
|
|||
'ticket_background_color' => 'Ticket Background Color',
|
||||
'ticket_border_color' => 'Ticket Border Color',
|
||||
'ticket_design' => 'Ticket Design',
|
||||
'access_codes' => 'Access Codes',
|
||||
'ticket_preview' => 'Ticket Preview',
|
||||
'ticket_sales_paused' => 'Sales Paused',
|
||||
'ticket_sub_text_color' => 'Ticket Sub Text Color',
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
return array (
|
||||
//==================================== Translations ====================================//
|
||||
'apply' => 'Apply',
|
||||
'action' => 'Action',
|
||||
'affiliates' => 'Affiliates',
|
||||
'attendees' => 'Attendees',
|
||||
|
|
@ -23,7 +22,6 @@ return array (
|
|||
'enabled' => 'Enabled',
|
||||
'error_404' => 'Looks like the page you are looking for no longer exists or has moved.',
|
||||
'event_dashboard' => 'Event Dashboard',
|
||||
'event_menu' => 'Event Menu',
|
||||
'event_page_design' => 'Event Page Design',
|
||||
'export' => 'Export',
|
||||
'general' => 'General',
|
||||
|
|
@ -44,21 +42,21 @@ return array (
|
|||
'submit' => 'Submit',
|
||||
'success' => 'Success',
|
||||
'ticket_design' => 'Ticket Design',
|
||||
'access_codes' => 'Access Codes',
|
||||
'tickets' => 'Tickets',
|
||||
'TOP' => 'TOP',
|
||||
'TOP' => 'TOP',
|
||||
'total' => 'total',
|
||||
'whoops' => 'Whoops!',
|
||||
'yes' => 'Yes',
|
||||
'no' => 'No',
|
||||
/*
|
||||
* Lines below will turn obsolete in localization helper, it is declared in app/Helpers/macros.
|
||||
* If you run it, it will break file input fields.
|
||||
*/
|
||||
'upload' => 'Upload',
|
||||
'browse' => 'Browse',
|
||||
/*
|
||||
* Lines below will turn obsolete in localization helper, it is declared in app/Helpers/macros.
|
||||
* If you run it, it will break file input fields.
|
||||
*/
|
||||
'upload' => 'Upload',
|
||||
'browse' => 'Browse',
|
||||
//================================== Obsolete strings ==================================//
|
||||
'LLH:obsolete' => [
|
||||
'LLH:obsolete' =>
|
||||
array (
|
||||
'months_long' => 'January|February|March|April|May|June|July|August|September|October|November|December',
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
@ -18,12 +18,6 @@ return array(
|
|||
'event_end_date' => 'Fecha de finalización del evento',
|
||||
'event_flyer' => 'Folleto del evento',
|
||||
'event_image' => 'Imagen del evento (folleto o gráfico, etc.)',
|
||||
'event_image_position' => 'Imagen posición',
|
||||
'event_image_position_hide' => 'Oculto',
|
||||
'event_image_position_before'=> 'Antes de',
|
||||
'event_image_position_after' => 'Después',
|
||||
'event_image_position_left' => 'Lado Izquierdo',
|
||||
'event_image_position_right' => 'Lado derecho',
|
||||
'event_orders' => 'Pedidos de Eventos',
|
||||
'event_start_date' => 'Fecha de inicio del evento',
|
||||
'event_title' => 'Título del evento',
|
||||
|
|
|
|||
|
|
@ -70,7 +70,6 @@ return array (
|
|||
'maximum_refund_amount' => 'Le montant maximum que vous pouvez rembourser est :money',
|
||||
'message_successfully_sent' => 'Message envoyé avec succès !',
|
||||
'no_organiser_name_error' => 'Vous devez indiquer un nom pour l\'organisateur de l\'événement.',
|
||||
'new_order_received' => 'Nouvelle commande reçue pour l\'événement :event [:order]',
|
||||
'nothing_to_do' => 'Rien à faire',
|
||||
'nothing_to_refund' => 'Rien à rembourser.',
|
||||
'num_attendees_checked_in' => ':num participant(s) enregistré(s).',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/*************************************************************************
|
||||
Generated via "php artisan localization:missing" at 2018/04/26 10:54:45
|
||||
Generated via "php artisan localization:missing" at 2018/04/26 10:54:45
|
||||
*************************************************************************/
|
||||
|
||||
return array (
|
||||
|
|
@ -24,12 +24,6 @@ return array (
|
|||
'event_end_date' => 'Date de fin de l\'événement',
|
||||
'event_flyer' => 'Fascicule de l\'événement',
|
||||
'event_image' => 'Image pour l\'événement (fasciule, graphique, etc.)',
|
||||
'event_image_position' => 'Position de l\'image',
|
||||
'event_image_position_hide' => 'Cachée',
|
||||
'event_image_position_before' => 'Avant',
|
||||
'event_image_position_after' => 'Après',
|
||||
'event_image_position_left' => 'A gauche',
|
||||
'event_image_position_right' => 'A droite',
|
||||
'event_orders' => 'Commandes pour l\'événement',
|
||||
'event_start_date' => 'Date de début de l\'événement',
|
||||
'event_title' => 'Titre de l\'événement',
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ return array (
|
|||
'booking_fees' => 'Frais de réservation',
|
||||
'card_number' => 'Numéro de carte',
|
||||
'checkout_submit' => 'Enregistrer',
|
||||
'confirmation_email' => 'et un message de confirmation vous a été envoyé.',
|
||||
'copy_buyer' => 'Copier les détails de l\'acheteur pour tous ceux qui ont des billets',
|
||||
'currently_not_on_sale' => 'Pas en vente pour l\'instant',
|
||||
'cvc_number' => 'Numéro CVC',
|
||||
|
|
@ -31,7 +30,7 @@ return array (
|
|||
'download_tickets' => 'Télécharger les billets',
|
||||
'email' => 'Courriel',
|
||||
'email_address' => 'Adresse de courriel',
|
||||
'event_already' => 'L\'événement est :started.',
|
||||
'event_already' => 'L\'événement a :started.',
|
||||
'event_already_ended' => 'fini',
|
||||
'event_already_started' => 'déjà commencé',
|
||||
'event_dashboard' => 'Tableau de bord de l\'événement',
|
||||
|
|
@ -54,7 +53,7 @@ return array (
|
|||
'pay_using_offline_methods' => 'Payer via une méthode hors ligne',
|
||||
'payment_information' => 'Information du paiement',
|
||||
'payment_instructions' => 'Instructions pour le paiement',
|
||||
'presents' => 'vous propose',
|
||||
'presents' => 'cadeaux',
|
||||
'price' => 'Prix',
|
||||
'quantity_full' => 'Quantité',
|
||||
'reference' => 'Référence',
|
||||
|
|
@ -79,5 +78,4 @@ return array (
|
|||
'your_information' => 'Vos informations',
|
||||
'your_message' => 'Votre message',
|
||||
'your_name' => 'Votre nom',
|
||||
'your' => 'Vos',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -20,5 +20,5 @@ return array (
|
|||
'question_options' => 'Options de la question',
|
||||
'question_placeholder' => 'par ex. Merci de saisir votre adresse complète ?',
|
||||
'question_type' => 'Type de question',
|
||||
'require_this_question_for_ticket(s)' => 'Activer cette question pour le(s) billet(s)',
|
||||
'require_this_question_for_ticket(s)' => 'Exiger une réponse pour le(s) billet(s)',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/*************************************************************************
|
||||
Generated via "php artisan localization:missing" at 2018/04/25 09:06:13
|
||||
Generated via "php artisan localization:missing" at 2018/04/25 09:06:13
|
||||
*************************************************************************/
|
||||
|
||||
return array (
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/*************************************************************************
|
||||
Generated via "php artisan localization:missing" at 2018/04/26 10:54:46
|
||||
Generated via "php artisan localization:missing" at 2018/04/26 10:54:46
|
||||
*************************************************************************/
|
||||
|
||||
return array (
|
||||
|
|
@ -21,12 +21,6 @@ return array (
|
|||
'event_end_date' => 'Data zakończenia wydarzenia',
|
||||
'event_flyer' => 'Broszura',
|
||||
'event_image' => 'Obraz Wydarzenia',
|
||||
'event_image_position' => 'Pozycja Obrazu',
|
||||
'event_image_position_hide' => 'Ukryty',
|
||||
'event_image_position_before' => 'Przed',
|
||||
'event_image_position_after' => 'Po',
|
||||
'event_image_position_left' => 'Lewa Strona',
|
||||
'event_image_position_right' => 'Prawa Strona',
|
||||
'event_orders' => 'Zamówienia wydarzenia',
|
||||
'event_start_date' => 'Data rozpoczęcia wydarzenia',
|
||||
'event_title' => 'Tytuł Wydarzenia',
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
@include('Shared/Layouts/ViewJavascript')
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
@stop
|
||||
|
||||
@section('head')
|
||||
{!! HTML::script('https://maps.googleapis.com/maps/api/js?libraries=places&key='.config("attendize.google_maps_geocoding_key")) !!}
|
||||
{!! HTML::script('https://maps.googleapis.com/maps/api/js?sensor=false&libraries=places&key='.env("GOOGLE_MAPS_GEOCODING_KEY")) !!}
|
||||
{!! HTML::script('vendor/geocomplete/jquery.geocomplete.min.js') !!}
|
||||
<script>
|
||||
$(function () {
|
||||
|
|
@ -201,6 +201,7 @@
|
|||
class="{{$tab == 'fees' ? 'active' : ''}}"><a href="#fees" data-toggle="tab">@lang("basic.service_fees")</a></li>
|
||||
<li data-route="{{route('showEventCustomizeTab', ['event_id' => $event->id, 'tab' => 'ticket_design'])}}"
|
||||
class="{{$tab == 'ticket_design' ? 'active' : ''}}"><a href="#ticket_design" data-toggle="tab">@lang("basic.ticket_design")</a></li>
|
||||
|
||||
</ul>
|
||||
<!--/ tab -->
|
||||
<!-- tab content -->
|
||||
|
|
@ -245,7 +246,7 @@
|
|||
<td>{{ $affiliate->visits }}</td>
|
||||
<td>{{ $affiliate->tickets_sold }}</td>
|
||||
<td>{{ money($affiliate->sales_volume, $event->currency) }}</td>
|
||||
<td>{{ $affiliate->updated_at->format(config("attendize.default_datetime_format")) }}</td>
|
||||
<td>{{ $affiliate->updated_at->format(env("DEFAULT_DATETIME_FORMAT")) }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
|
@ -512,8 +513,12 @@
|
|||
<div class="panel-footer mt15 text-right">
|
||||
{!! Form::submit(trans("basic.save_changes"), ['class'=>"btn btn-success"]) !!}
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--/ tab content -->
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
<script src="//cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.min.js" integrity="sha256-0rg2VtfJo3VUij/UY9X0HJP7NET6tgAY98aMOfwP0P8=" crossorigin="anonymous"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
$.getJSON('https://graph.facebook.com/?id=' + '{{route('showEventPage',['event_id' => $event->id, 'event_slug' => Str::slug($event->title)])}}', function (fbdata) {
|
||||
$.getJSON('http://graph.facebook.com/?id=' + '{{route('showEventPage',['event_id' => $event->id, 'event_slug' => Str::slug($event->title)])}}', function (fbdata) {
|
||||
$('#facebook-count').html(fbdata.shares);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -115,35 +115,9 @@
|
|||
{!! Form::checkbox('is_hidden', null, null, ['id' => 'is_hidden']) !!}
|
||||
{!! Form::label('is_hidden', trans("ManageEvent.hide_this_ticket"), array('class'=>' control-label')) !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@if ($ticket->is_hidden)
|
||||
<div class="col-md-12">
|
||||
<h4>{{ __('AccessCodes.select_access_code') }}</h4>
|
||||
@if($ticket->event->access_codes->count())
|
||||
<?php
|
||||
$isSelected = false;
|
||||
$selectedAccessCodes = $ticket->event_access_codes()->get()->map(function($accessCode) {
|
||||
return $accessCode->pivot->event_access_code_id;
|
||||
})->toArray();
|
||||
?>
|
||||
@foreach($ticket->event->access_codes as $access_code)
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="custom-checkbox mb5">
|
||||
{!! Form::checkbox('ticket_access_codes[]', $access_code->id, in_array($access_code->id, $selectedAccessCodes), ['id' => 'ticket_access_code_' . $access_code->id, 'data-toggle' => 'toggle']) !!}
|
||||
{!! Form::label('ticket_access_code_' . $access_code->id, $access_code->code) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@else
|
||||
<div class="alert alert-info">
|
||||
@lang("AccessCodes.no_access_codes_yet")
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<a href="javascript:void(0);" class="show-more-options">
|
||||
@lang("ManageEvent.more_options")
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
<b>@lang("Order.order_ref")</b><br> {{$order->order_reference}}
|
||||
</div>
|
||||
<div class="col-sm-6 col-xs-6">
|
||||
<b>@lang("Order.date")</b><br> {{$order->created_at->format(config('attendize.default_datetime_format'))}}
|
||||
<b>@lang("Order.date")</b><br> {{$order->created_at->toDateTimeString()}}
|
||||
</div>
|
||||
<div class="col-sm-6 col-xs-6">
|
||||
<b>@lang("Order.email")</b><br> {{$order->email}}
|
||||
|
|
@ -70,30 +70,10 @@
|
|||
</div>
|
||||
@endif
|
||||
|
||||
@if ($order->is_business)
|
||||
<div class="col-sm-6 col-xs-6">
|
||||
<b>@lang("Public_ViewEvent.business_name")</b><br />
|
||||
{{$order->business_name}}
|
||||
</div>
|
||||
<div class="col-sm-6 col-xs-6">
|
||||
<b>@lang("Public_ViewEvent.business_tax_number")</b><br />
|
||||
{{$order->business_tax_number}}
|
||||
</div>
|
||||
<div class="col-sm-6 col-xs-6">
|
||||
<b>@lang("Public_ViewEvent.business_address")</b><br />
|
||||
{{$order->business_address}}
|
||||
@if ($order->business_address_line_one) {{$order->business_address_line_one}},@endif
|
||||
@if ($order->business_address_line_one) {{$order->business_address_line_two}},@endif
|
||||
@if ($order->business_address_line_one) {{$order->business_address_state_province}},@endif
|
||||
@if ($order->business_address_line_one) {{$order->business_address_city}},@endif
|
||||
@if ($order->business_address_line_one) {{$order->business_address_code}}@endif
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>@lang('Order.order_items')</h3>
|
||||
<h3>Order Items</h3>
|
||||
<div class="well nopad bgcolor-white p0">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover" >
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue