예제 #1
0
      <form action="<?php 
echo $wpi_settings['links']['manage_invoice'];
?>
" method='POST' id="wpi_new_invoice_form">
        <?php 
echo WPI_UI::input("name=wpi[new_invoice][invoice_id]&value=" . rand(1000, 90000000) . "&type=hidden");
?>
        <table class="form-table" id="get_user_info">
          <tr class="invoice_main">
            <th><label for="wp_invoice_userlookup"><?php 
_e('E-mail Address:', WPI);
?>
</label></th>
            <td>
              <?php 
WPI_UI::draw_user_auto_complete_field();
?>
              <input type="submit" class="button" id="wp_invoice_create_new_invoice" value="<?php 
esc_attr(_e('Create New', WPI));
?>
">
              <?php 
if ($wpi_settings['total_invoice_count']) {
    ?>
              <span id="wp_invoice_copy_invoice" class="wp_invoice_click_me">copy from another</span>
              <?php 
}
?>
            </td>
          </tr>
          <?php