RSS Git Download  Clone
Raw Blame History
  [% META title = 'Resources » Resend HL7 Data' -%]

<!-- BEGIN [% template.name %] -->
    [% # PROCESS dumper.tt dump = result %]
    [% IF result %]
        <div>
            <span class="info">ICE server responded with:</span>
            <pre class="indent">[% result %]</pre>
        </div>
        <p class="info">To view result:
            <a href="[% app_url %]/resources/query_view/hl7_records_view">
                <i>Resources &#187; Static views &#187; HL7 records today</i>
            </a>
        </p>
    [% ELSE; USE date = DateTime(today = 1); # INCLUDE dumper.tt dump = date; %]
        <form action="[% app_url %]/resources/resend_hl7">
          <p class="info indent">Confirm re-send records from
            [% date.subtract(days = 1).strftime('%a %d.%b.%Y') %] to ICE server
            <input type="checkbox" name="confirm_resend" value="1" />
            [% site.html.go_btn %]
          </p>
        </form>
    [% END %]
<!-- END [% template.name %] -->