Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
427080de
authored
2011-03-14 03:01:42 +0000
by
Kevin Burton
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
payhistory update
1 parent
f089281b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
83 additions
and
5 deletions
com/Branding/css/tenzing.css
com/UserManager/views/edit_user_payhistory.php
com/Branding/css/tenzing.css
View file @
427080d
...
...
@@ -553,3 +553,39 @@ div.tablesorterPager input {
text-align
:
center
;
}
/**/
#mytable_length
,
.dataTables_length
{
float
:
left
;
width
:
200px
;
}
#mytable_filter
,
.dataTables_filter
{
float
:
right
;
text-align
:
right
;
width
:
400px
;
}
#mytable_info
,
.dataTables_info
{
font-size
:
11px
;
color
:
#ccc
;}
.tz-data-table-no-sort
thead
{
display
:
none
;
}
.sorting
,
.sorting_asc
,
.sorting_desc
{
background-color
:
transparent
;
background-position
:
right
;
background-repeat
:
no-repeat
;
background-image
:
url(/wp-content/themes/cbv/assets/images/bg.gif)
;
cursor
:
pointer
;
}
.sorting_asc
{
background-image
:
url(/wp-content/themes/cbv/assets/images/asc.gif)
;
color
:
#DF3224
;
}
.sorting_desc
{
background-image
:
url(/wp-content/themes/cbv/assets/images/desc.gif)
;
color
:
#DF3224
;
}
.paginate_button_disabled
{
color
:
#ccc
;
cursor
:
default
;
}
.dataTables_wrapper
{
position
:
relative
;
clear
:
both
;
display
:
block
;
margin-bottom
:
5px
;
}
.dataTables_wrapper
+
p
{
clear
:
both
;
}
.dataTables_info
{
float
:
left
;
}
.dataTables_paginate
{
float
:
right
;
width
:
400px
;
text-align
:
right
;
font-size
:
11px
;
}
.paginate_button
,
.paginate_button_disabled
,
.paginate_active
{
padding
:
0px
4px
;
}
.paginate_button
{
cursor
:
pointer
;
}
.paginate_button
:hover
{
color
:
#DF3224
;
}
div
.dataTables_paginate
span
.paginate_active
{
color
:
#DF3224
;
}
\ No newline at end of file
...
...
com/UserManager/views/edit_user_payhistory.php
View file @
427080d
...
...
@@ -173,7 +173,7 @@ use WP_User;
}
$html
.=
'<tr
class="'
.
$row_class
.
'"
>'
;
$html
.=
'<tr>'
;
$html
.=
'<td>'
.
$description
.
'</td>'
;
//if ($status!="credit") {
...
...
@@ -288,16 +288,58 @@ use WP_User;
}
?>
<?php
if
(
!
isset
(
$_GET
[
'view'
])
&&
!
isset
(
$_GET
[
'pay'
]))
:
?>
<div
id=
"tax_receipts"
style=
"margin-top:40px;"
>
<h3>
T2202a Receipts
</h3>
<table
cellpadding=
"0"
cellspacing=
"0"
border=
"0"
>
<tbody>
<?php
$t2202a
=
get_user_meta
(
$_GET
[
'uid'
],
't2202a'
,
true
);
if
(
empty
(
$t2202a
)
)
{
echo
'<tr><td colspan="2">No t2202a\'s available.</td></tr>'
;
}
else
{
foreach
(
$t2202a
as
$year
=>
$file
)
{
?>
<tr>
<td
width=
"120"
><strong>
<?php
echo
$year
;
?>
</strong></td>
<td><a
href=
"
<?php
echo
"/wp-content/uploads/t2202a/"
.
$file
;
?>
"
>
Download 2010
<?php
echo
ucwords
(
strtolower
(
'TUITION, EDUCATION, AND TEXTBOOK AMOUNTS CERTIFICATE'
));
?>
</a></td>
</tr>
<?php
}
}
?>
</tbody>
</table>
</div>
<?php
endif
;
?>
</div>
<script
src=
"
<?php
echo
Tools\url
(
'../UserManager.js'
,
__FILE__
);
?>
"
type=
"text/javascript"
></script>
<script
type=
"text/javascript"
>
jQuery
(
document
).
ready
(
function
(
$
)
{
$
(
'#invoice-table'
)
.
tablesorter
({
sortList
:
[[
0
,
1
]],
widgets
:
[
'zebra'
]
$
(
'#invoice-table'
).
dataTable
({
"sPaginationType"
:
"full_numbers"
,
"bFilter"
:
false
,
"bLengthChange"
:
false
,
"aaSorting"
:
[[
0
,
"desc"
]]
,
"iDisplayLength"
:
20
,
"oLanguage"
:
{
"sZeroRecords"
:
"No matching records found"
,
"sEmptyTable"
:
"No invoices/receipts available"
,
"sInfo"
:
"Showing _START_ to _END_ of _TOTAL_ invoices/receipts"
,
"sInfoEmpty"
:
"Showing 0 to 0 of 0 invoices/receipts"
,
"sInfoFiltered"
:
"(filtered from _MAX_ total invoices/receipts)"
}
});
});
</script>
...
...
Please
register
or
sign in
to post a comment