-- Group: timeexpensesheets
-- Name:  invoice
-- Notes: Invoice Time Expense Sheet
-- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.

SELECT te.invoiceSheets(ARRAY[
   <? foreach("tehead_ids") ?>
     <? if not isfirst("tehead_ids") ?>
      ,
     <? endif ?>
    <? value("tehead_ids") ?>
   <? endforeach ?>
],<? value("invchead_invcdate") ?>::DATE
);
