<? include('includes/main.php'); ?>
<? include('includes/arfunctions.php'); ?>
<? //arinvoicestate.php
echo texttitle('Invoice Statements - '.$companyname);
echo '<form action="arinvoicestateview.php" method="post" name="mainform"><table>';
echo '<tr><td align="'.TABLE_LEFT_SIDE_ALIGN.'">Show Invoices:</td><td><select name="inv"'.INC_TEXTBOX.'><option value="0">All<option value="1">All Overdue</select></td></tr>';
formarcustomerselect('customerid');
echo '<tr><td align="'.TABLE_LEFT_SIDE_ALIGN.'">Do Not Show Invoices Entered In Last :</td><td><input type="text" name="invdays" onchange="validatenum(this)" value="0" size="30"'.INC_TEXTBOX.'> days</td></tr>';
echo '<tr><td align="'.TABLE_LEFT_SIDE_ALIGN.'" colspan="2">(if any invoice older than this number of days statement will show all pending.)</td></tr>';
echo '</table><br><br><input type="submit" value="Continue"></form>';
?>
<? include('includes/footer.php'); ?>