Merge branch 'bilettm' of https://github.com/merdiano/Attendize into bilettm_front
This commit is contained in:
commit
e2fd368145
|
|
@ -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']);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Admin;
|
||||
|
||||
use Backpack\CRUD\app\Http\Controllers\CrudController;
|
||||
|
||||
// VALIDATION: change the requests to match your own file names if you need form validation
|
||||
use App\Http\Requests\EventRequestRequest as StoreRequest;
|
||||
use App\Http\Requests\EventRequestRequest as UpdateRequest;
|
||||
|
||||
/**
|
||||
* Class EventRequestCrudController
|
||||
* @package App\Http\Controllers\Admin
|
||||
* @property-read CrudPanel $crud
|
||||
*/
|
||||
class EventRequestCrudController extends CrudController
|
||||
{
|
||||
public function setup()
|
||||
{
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| CrudPanel Basic Information
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
$this->crud->setModel('App\Models\EventRequest');
|
||||
$this->crud->setRoute(config('backpack.base.route_prefix') . '/eventrequest');
|
||||
$this->crud->setEntityNameStrings('eventrequest', 'event_requests');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| CrudPanel Configuration
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
// TODO: remove setFromDb() and manually define Fields and Columns
|
||||
$this->crud->setFromDb();
|
||||
|
||||
// add asterisk for fields that are required in EventRequestRequest
|
||||
$this->crud->setRequiredFields(StoreRequest::class, 'create');
|
||||
$this->crud->setRequiredFields(UpdateRequest::class, 'edit');
|
||||
}
|
||||
|
||||
public function store(StoreRequest $request)
|
||||
{
|
||||
// your additional operations before save here
|
||||
$redirect_location = parent::storeCrud($request);
|
||||
// your additional operations after save here
|
||||
// use $this->data['entry'] or $this->crud->entry
|
||||
return $redirect_location;
|
||||
}
|
||||
|
||||
public function update(UpdateRequest $request)
|
||||
{
|
||||
// your additional operations before save here
|
||||
$redirect_location = parent::updateCrud($request);
|
||||
// your additional operations after save here
|
||||
// use $this->data['entry'] or $this->crud->entry
|
||||
return $redirect_location;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Admin;
|
||||
|
||||
use Backpack\CRUD\app\Http\Controllers\CrudController;
|
||||
|
||||
// VALIDATION: change the requests to match your own file names if you need form validation
|
||||
use App\Http\Requests\SubscriberRequest as StoreRequest;
|
||||
use App\Http\Requests\SubscriberRequest as UpdateRequest;
|
||||
|
||||
/**
|
||||
* Class SubscriberCrudController
|
||||
* @package App\Http\Controllers\Admin
|
||||
* @property-read CrudPanel $crud
|
||||
*/
|
||||
class SubscriberCrudController extends CrudController
|
||||
{
|
||||
public function setup()
|
||||
{
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| CrudPanel Basic Information
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
$this->crud->setModel('App\Models\Subscriber');
|
||||
$this->crud->setRoute(config('backpack.base.route_prefix') . '/subscriber');
|
||||
$this->crud->setEntityNameStrings('subscriber', 'subscribers');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| CrudPanel Configuration
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
// TODO: remove setFromDb() and manually define Fields and Columns
|
||||
$this->crud->setFromDb();
|
||||
|
||||
// add asterisk for fields that are required in SubscriberRequest
|
||||
$this->crud->setRequiredFields(StoreRequest::class, 'create');
|
||||
$this->crud->setRequiredFields(UpdateRequest::class, 'edit');
|
||||
}
|
||||
|
||||
public function store(StoreRequest $request)
|
||||
{
|
||||
// your additional operations before save here
|
||||
$redirect_location = parent::storeCrud($request);
|
||||
// your additional operations after save here
|
||||
// use $this->data['entry'] or $this->crud->entry
|
||||
return $redirect_location;
|
||||
}
|
||||
|
||||
public function update(UpdateRequest $request)
|
||||
{
|
||||
// your additional operations before save here
|
||||
$redirect_location = parent::updateCrud($request);
|
||||
// your additional operations after save here
|
||||
// use $this->data['entry'] or $this->crud->entry
|
||||
return $redirect_location;
|
||||
}
|
||||
}
|
||||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -8,6 +8,11 @@
|
|||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Http\Requests\AddEventRequest;
|
||||
use App\Http\Requests\SearchRequest;
|
||||
use App\Http\Requests\SubscribeRequest;
|
||||
use App\Models\EventRequest;
|
||||
use App\Models\Subscriber;
|
||||
use Illuminate\Http\Request;
|
||||
use App\Models\Category;
|
||||
use App\Models\Event;
|
||||
|
|
@ -42,23 +47,20 @@ class PublicController extends Controller
|
|||
]);
|
||||
}
|
||||
|
||||
public function showEvents($cat_id = null,Request $request){
|
||||
public function showEvents($cat_id = null, Request $request){
|
||||
$date = $request->get('date');
|
||||
//$cat_id = $request->get('cat_id');
|
||||
|
||||
$e_query = Event::onLive();
|
||||
$nav_query = Category::select('id','title_tm','title_ru','parent_id')
|
||||
->orderBy('lft','asc');
|
||||
|
||||
$active_id = -1;
|
||||
|
||||
$category = null;
|
||||
if(!empty($cat_id)){
|
||||
$category = Category::findOrFail($cat_id);
|
||||
|
||||
if($category->parent_id > 0){
|
||||
$e_query->where('sub_category_id',$category->id);
|
||||
$nav_query->where('parent_id',$category->parent_id);
|
||||
$active_id = $category->id;
|
||||
}
|
||||
else{
|
||||
$e_query->where('category_id',$category->id);
|
||||
|
|
@ -73,18 +75,51 @@ class PublicController extends Controller
|
|||
$e_query->whereDate('start_date','>=',Carbon::parse($date));
|
||||
}
|
||||
|
||||
$events = $e_query->paginate(20);
|
||||
$events = $e_query->paginate(10);
|
||||
$navigation = $nav_query->get();
|
||||
|
||||
dd($events);
|
||||
return view('Bilettm.Public.EventsPage')->with([
|
||||
'events' => $events,
|
||||
'active_id' => $active_id,
|
||||
'category' => $category,
|
||||
'navigation' => $navigation
|
||||
]);
|
||||
}
|
||||
|
||||
public function search(Request $request){
|
||||
public function search(SearchRequest $request){
|
||||
//todo implement with elastick search and scout
|
||||
$query = $request->get('q');
|
||||
return view('Bilettm.Public.SearchResult');
|
||||
$events = Event::where('title','like',"%{$query}%")->get();
|
||||
|
||||
return view('Bilettm.Public.SearchResults')
|
||||
->with([
|
||||
'events' => $events,
|
||||
'query' => $query
|
||||
]);
|
||||
}
|
||||
|
||||
public function showAddEventForm(){
|
||||
return view('Bilettm.Public.AddEventForm');
|
||||
}
|
||||
|
||||
public function postAddEvent(AddEventRequest $request){
|
||||
|
||||
$addEvent = EventRequest::create([
|
||||
'name' => $request->get('name'),
|
||||
'email' => $request->get('email'),
|
||||
'phone' => $request->get('phone'),
|
||||
'detail' => $request->get('detail')
|
||||
]);
|
||||
return view('Bilettm.Public.AddEventResult',compact('addEvent'));
|
||||
}
|
||||
|
||||
public function subscribe(SubscribeRequest $request){
|
||||
$email = $request->get('email');
|
||||
$subscribe = Subscriber::updateOrCreate(['email'=>$email,'active'=>1]);
|
||||
|
||||
if($subscribe){
|
||||
session()->flash('success','Subscription successfully');
|
||||
}
|
||||
|
||||
return redirect()->back();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class AddEventRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'name'=>'required',
|
||||
'phone'=>'required',
|
||||
'email' =>'required|email',
|
||||
'details' => 'required'
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use App\Http\Requests\Request;
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class EventRequestRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
// only allow updates if the user is logged in
|
||||
return backpack_auth()->check();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
// 'name' => 'required|min:5|max:255'
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation attributes that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function attributes()
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation messages that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function messages()
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class SearchRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'q' => 'required|min:3'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class SubscribeRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'email' => 'required|email'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use App\Http\Requests\Request;
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class SubscriberRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
// only allow updates if the user is logged in
|
||||
return backpack_auth()->check();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
// 'name' => 'required|min:5|max:255'
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation attributes that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function attributes()
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation messages that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function messages()
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
@ -729,6 +724,21 @@ Route::group(
|
|||
'uses' => 'PublicController@search'
|
||||
]);
|
||||
|
||||
Route::get('/add_event',[
|
||||
'as' => 'add_event',
|
||||
'uses' => 'PublicController@showAddEventForm'
|
||||
]);
|
||||
|
||||
Route::post('/add_event',[
|
||||
'as' => 'add_event',
|
||||
'uses' => 'PublicController@postAddEvent'
|
||||
]);
|
||||
|
||||
Route::post('/subscribe',[
|
||||
'as'=>'subscription',
|
||||
'uses' =>'PublicController@subscribe'
|
||||
]);
|
||||
|
||||
Route::get('/terms_and_conditions', [
|
||||
'as' => 'termsAndConditions',
|
||||
function () {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -68,4 +68,8 @@ class Category extends \Illuminate\Database\Eloquent\Model{
|
|||
public function getChildren($parent_id){
|
||||
return $this->where('parent_id',$parent_id)->orderBy('lft','asc');
|
||||
}
|
||||
|
||||
public function parent(){
|
||||
return $this->belongsTo(Category::class,'parent_id');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Backpack\CRUD\CrudTrait;
|
||||
|
||||
class EventRequest extends Model
|
||||
{
|
||||
use CrudTrait;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| GLOBAL VARIABLES
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
protected $table = 'event_requests';
|
||||
// protected $primaryKey = 'id';
|
||||
// public $timestamps = false;
|
||||
// protected $guarded = ['id'];
|
||||
protected $fillable = ['name','email','phone','detail'];
|
||||
// protected $hidden = [];
|
||||
// protected $dates = [];
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| FUNCTIONS
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| RELATIONS
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| SCOPES
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| ACCESORS
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| MUTATORS
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
}
|
||||
|
|
@ -7,7 +7,6 @@ use DB;
|
|||
|
||||
class EventStats extends \Illuminate\Database\Eloquent\Model
|
||||
{
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
/**
|
||||
* Indicates if the model should be timestamped.
|
||||
*
|
||||
|
|
@ -71,7 +70,7 @@ class EventStats extends \Illuminate\Database\Eloquent\Model
|
|||
* Updates the sales volume earned by an event.
|
||||
*
|
||||
*/
|
||||
public function updateSalesVolume($event_id)
|
||||
public function updateSalesVolume($event_id, $amount = null)
|
||||
{
|
||||
$stats = $this->updateOrCreate([
|
||||
'event_id' => $event_id,
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Backpack\CRUD\CrudTrait;
|
||||
|
||||
class Subscriber extends Model
|
||||
{
|
||||
use CrudTrait;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| GLOBAL VARIABLES
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
protected $table = 'subscribers';
|
||||
// protected $primaryKey = 'id';
|
||||
// public $timestamps = false;
|
||||
// protected $guarded = ['id'];
|
||||
protected $fillable = ['email','active'];
|
||||
// protected $hidden = [];
|
||||
// protected $dates = [];
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| FUNCTIONS
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| RELATIONS
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| SCOPES
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| ACCESORS
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| MUTATORS
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
}
|
||||
|
|
@ -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' => ''
|
||||
];
|
||||
|
|
|
|||
|
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateSubscribersTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('subscribers', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('email')->unique();
|
||||
$table->boolean('active')->default(1);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('subscribers');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateEventRequestsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('event_requests', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('email')->nullable();
|
||||
$table->string('phone')->nullable();
|
||||
$table->string('name')->nullable();
|
||||
$table->longText('details')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('event_requests');
|
||||
}
|
||||
}
|
||||
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',
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue