echo attr($from_date); ?> " /> <?php if ($my_authorized == "on") { $my_authorized = "1"; } else { $my_authorized = "%"; } if ($unbilled == "on") { $unbilled = "0"; } else { $unbilled = "%"; } $list = getBillsListBetween("%"); ?> <input type='hidden' name='bill_list' value="<?php echo attr($list); ?> " /> <!-- new form for uploading --> <?php if (!isset($_POST["mode"])) { if (!isset($_POST["from_date"])) { $from_date = date("Y-m-d"); } else { $from_date = $_POST["from_date"];
<?php if ($my_authorized == "on") { $my_authorized = 1; } else { $my_authorized = "%"; } if ($unbilled == "on") { $unbilled = "0"; } else { $unbilled = "%"; } if ($code_type == "all") { $code_type = "%"; } $list = getBillsListBetween($from_date, $to_date, $my_authorized, $unbilled, $code_type); ?> <?php if (isset($_GET["mode"]) && $_GET["mode"] == "bill") { billCodesList($list); } $res_count = 0; $N = 1; $itero = array(); if ($ret = getBillsBetween($from_date, $to_date, $my_authorized, $unbilled, $code_type)) { $old_pid = -1; $first_time = 1; $encid = 0; foreach ($ret as $iter) { if ($old_pid != $iter["pid"]) {
<?php if ($my_authorized == "on") { $my_authorized = 1; } else { $my_authorized = "%"; } if ($unbilled == "on") { $unbilled = "0"; } else { $unbilled = "%"; } if ($code_type == "all") { $code_type = "%"; } $list = getBillsListBetween($code_type); ?> <?php if (isset($_GET["mode"]) && $_GET["mode"] == "bill") { billCodesList($list); } $res_count = 0; $N = 1; $itero = array(); if ($ret = getBillsBetweenReport($code_type)) { $old_pid = -1; $first_time = 1; $encid = 0; foreach ($ret as $iter) { if ($old_pid != $iter["pid"]) {
echo $from_date; ?> " /> <?php if ($my_authorized == "on") { $my_authorized = "1"; } else { $my_authorized = "%"; } if ($unbilled == "on") { $unbilled = "0"; } else { $unbilled = "%"; } $list = getBillsListBetween($from_date, empty($to_date) ? $from_date : $to_date, $my_authorized, $unbilled, "%"); ?> <input type='hidden' name='bill_list' value="<?php echo $list; ?> " /> <!-- new form for uploading --> <?php if (!isset($_POST["mode"])) { if (!isset($_POST["from_date"])) { $from_date = date("Y-m-d"); } else { $from_date = $_POST["from_date"];