Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TimeOut
TimeOutAdmin
Commits
e2e2bf05
Commit
e2e2bf05
authored
6 years ago
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daily commit
parent
80521a50
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
11 deletions
+13
-11
Booking.php
application/controllers/Booking.php
+5
-5
viewBooking.php
application/views/Booking/viewBooking.php
+1
-1
viewBookingDetails.php
application/views/Booking/viewBookingDetails.php
+7
-5
qr_default.png
assets/images/qr_default.png
+0
-0
No files found.
application/controllers/Booking.php
View file @
e2e2bf05
...
...
@@ -15,11 +15,11 @@ class Booking extends CI_Controller {
public
function
viewBookings
(){
$template
[
'page'
]
=
'Booking/viewBooking'
;
$template
[
'menu'
]
=
'
Organizer
Management'
;
$template
[
'smenu'
]
=
'View
Organizer
s'
;
$template
[
'pTitle'
]
=
"View
Organizer
s"
;
$template
[
'pDescription'
]
=
"View and Manage
Organizer
s"
;
$template
[
'page_head'
]
=
"
Organizer
Management"
;
$template
[
'menu'
]
=
'
Booking
Management'
;
$template
[
'smenu'
]
=
'View
Booking
s'
;
$template
[
'pTitle'
]
=
"View
Booking
s"
;
$template
[
'pDescription'
]
=
"View and Manage
Booking
s"
;
$template
[
'page_head'
]
=
"
Booking
Management"
;
$provider_id
=
(
$this
->
session
->
userdata
(
'user_type'
)
==
2
)
?
$this
->
session
->
userdata
(
'id'
)
:
''
;
$template
[
'booking_data'
]
=
$this
->
Booking_model
->
getBookingData
(
''
,
$provider_id
,
'0,1,2,3'
);
...
...
This diff is collapsed.
Click to expand it.
application/views/Booking/viewBooking.php
View file @
e2e2bf05
...
...
@@ -26,7 +26,7 @@
<div
class=
"col-xs-12"
>
<div
class=
"box box-warning"
>
<div
class=
"box-header with-border"
>
<div
class=
"col-md-6"
><h3
class=
"box-title"
>
Organizer
List
</h3></div>
<div
class=
"col-md-6"
><h3
class=
"box-title"
>
Booking
List
</h3></div>
<div
class=
"col-md-6"
align=
"right"
>
<a
class=
"btn btn-sm btn-success"
href=
"
<?=
base_url
(
'Booking/generateReport'
)
?>
"
>
Generate Report
</a>
<a
class=
"btn btn-sm btn-primary"
href=
"
<?=
base_url
()
?>
"
>
Back
</a>
...
...
This diff is collapsed.
Click to expand it.
application/views/Booking/viewBookingDetails.php
View file @
e2e2bf05
...
...
@@ -6,7 +6,7 @@
<div
class=
"view_booking_modal"
>
<div
class=
"row"
>
<div
class=
"col-md-12 textRight"
>
<img
class=
"qr_code"
src=
"
<?=
base_url
(
$bookData
->
qrcode
)
?>
"
onerror=
"this.src='
<?=
base_url
(
"assets/images/
no_image_text.png"
)
?>
';"
/>
<img
class=
"qr_code"
src=
"
<?=
base_url
(
$bookData
->
qrcode
)
?>
"
onerror=
"this.src='
<?=
base_url
(
"assets/images/
qr_default.png"
)
?>
';"
style=
"max-width: 100px;max-height: 100px"
/>
</div>
</div>
<div
class=
"row"
>
...
...
@@ -50,6 +50,7 @@
:
</div>
<div
class=
"col-md-5"
>
<p
class=
"truncateText"
>
<?php
if
(
!
empty
(
$bookData
->
ticket_details
)){
$tkt
=
json_decode
(
$bookData
->
ticket_details
,
true
);
...
...
@@ -62,6 +63,7 @@
}
}
?>
</p>
</div>
</div>
</div>
...
...
@@ -146,7 +148,7 @@
:
</div>
<div
class=
"col-md-5"
>
<?=
$bookData
->
event_discription
?
>
<p
class=
"truncateText"
>
<?=
$bookData
->
event_discription
?>
</p
>
</div>
</div>
</div>
...
...
@@ -176,7 +178,7 @@
:
</div>
<div
class=
"col-md-5"
>
<?=
$bookData
->
category_description
?
>
<p
class=
"truncateText"
>
<?=
$bookData
->
category_description
?>
</p
>
</div>
</div>
</div>
...
...
@@ -300,7 +302,7 @@
:
</div>
<div
class=
"col-md-5"
>
<?=
$bookData
->
venue_details
?
>
<p
class=
"truncateText"
>
<?=
$bookData
->
venue_details
?>
</p
>
</div>
</div>
</div>
...
...
@@ -315,7 +317,7 @@
:
</div>
<div
class=
"col-md-5"
>
<?=
$bookData
->
location
?
>
<p
class=
"truncateText"
>
<?=
$bookData
->
location
?>
</p
>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
assets/images/qr_default.png
0 → 100644
View file @
e2e2bf05
10.3 KB
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment