<!-- BEGIN {$smarty.template} -->

<div id="printbill" class="divbgwrapper">

<table cellspacing="0">
  <caption><em>{if isset($billInfo) && isset($billInfo.bill_number)}{t}Print invoice{/t} {$billInfo.bill_number|wash}/{$billInfo.bill_date|wash}{else}{t}Print invoices{/t}{/if}</em>
    <a class="ptr" onclick="hideElement('printbill');"><img src="img/phpaga/close.png" alt="X" title="{t}Close{/t}"></a>
  </caption>
  <tr>
    <th colspan="2"> {t}Print options{/t}: </th>
  </tr>
  <tr>
    <td colspan="2">
      <input type="checkbox" class="cbox" name="letterhead" value="1" {if $smarty.const.PHPAGA_PDF_PRINT_LETTERHEAD_DEFAULT}checked{/if}> {t}Print letterhead{/t} <br />
      <input type="checkbox" class="cbox" name="oplist" value="1"> {t}Append task list{/t} <br />
      <input type="checkbox" class="cbox" name="timesheet" value="1"> {t}Append time sheet{/t}
	  <input type="hidden" name="download" value="0" id="pdf_download" />
	</td>
  </tr>
  <tr>
    <td class="buttons" colspan="2">
      <input type="submit" name="submit" value="{t}Export PDF{/t}" onclick="document.getElementById('pdf_download').value='0';" />
      <input type="submit" name="submit_new" value="{t}Download PDF{/t}" onclick="document.getElementById('pdf_download').value='1';" />
    </td>
  </tr>
</table>

</div>

<!-- END {$smarty.template} -->
