4 $sanitize_all_escapes=true;
7 //STOP FAKE REGISTER GLOBALS
8 $fake_register_globals=false;
11 include_once("../../globals.php");
12 include_once("$srcdir/transactions.inc");
16 <?php
html_header_show();?
>
18 <link rel
="stylesheet" href
="<?php echo $css_header;?>" type
="text/css">
19 <link rel
="stylesheet" type
="text/css" href
="../../../library/js/fancybox/jquery.fancybox-1.2.6.css" media
="screen" />
20 <script type
="text/javascript" src
="../../../library/textformat.js"></script
>
21 <script type
="text/javascript" src
="../../../library/dialog.js"></script
>
22 <script type
="text/javascript" src
="../../../library/js/jquery.1.3.2.js"></script
>
23 <script type
="text/javascript" src
="../../../library/js/common.js"></script
>
24 <script type
="text/javascript" src
="../../../library/js/fancybox/jquery.fancybox-1.2.6.js"></script
>
26 <script type
="text/javascript">
27 function toggle( target
, div
) {
28 $mode = $
(target
).find(".indicator").text();
29 if ( $mode == "collapse" ) {
30 $
(target
).find(".indicator").text( "expand" );
33 $
(target
).find(".indicator").text( "collapse" );
38 $
(document
).ready(function(){
40 $
("#transactions_view").click( function() {
41 toggle( $
(this
), "#transactions_div" );
44 // load transaction divs
45 $
("#transactions_div").load("transactions_full.php");
50 <body
class="body_top">
54 <span
class="title"><?php
echo htmlspecialchars( xl('Patient Transactions'), ENT_NOQUOTES
); ?
></span
> 
;</td
>
56 <!-- Define CSS Buttons
-->
57 <a href
="add_transaction.php" <?php
if (!$GLOBALS['concurrent_layout']) echo "target='Main'"; ?
> class="css_button" onclick
="top.restoreSession()">
58 <span
><?php
echo htmlspecialchars( xl('Add'), ENT_NOQUOTES
); ?
></span
></a
>
61 <a href
="print_referral.php" <?php
if (!$GLOBALS['concurrent_layout']) echo "target='Main'"; ?
> onclick
="top.restoreSession()" class="css_button" >
62 <span
><?php
echo htmlspecialchars( xl('View Blank Referral Form'), ENT_NOQUOTES
); ?
></span
></a
>
67 <div style
='margin-left:10px' class='text'>
68 <?php
if ($result = getTransByPid($pid)) { ?
>
69 <div id
='transactions_div'></div
>
71 <span
class="text"><?php
echo htmlspecialchars( xl('There are no transactions on file for this patient.'), ENT_NOQUOTES
); ?
></span
>