[% PROCESS 'elements.html'; PROCESS 'report_base.html' %]
[% PROCESS input element_data = { type = "hidden" name = "sort" value = "transdate" } %]

[% text('General Ledger Reports') %]
[% text('Reference') %] | [% PROCESS input element_data = { name = "reference" size = "20" type = "text" } %]
[% text('Account') %] | [% IF accno; accno; PROCESS input element_data = { name = 'accno', id = 'accno', type = 'hidden', value = accno }; ELSE; PROCESS input element_data = { name = "accno" id = 'accno' size = '15' value = accno type = 'text' class = 'AccountBox' "data-dojo-type"='lsmb/accounts/AccountSelector' "data-dojo-props"="required:false" }; END %]
[% text('Source') %] | [% PROCESS input element_data = { name = 'source' id = 'source' type = 'text' size = 20 } %] | [% text('Memo') %] | [% PROCESS input element_data = { name="memo" id='memo' size="20" type="text" } %]
[% text('Description') %] | [% PROCESS input element_data = { name='description' id='description' size='60' type='text' } %]
[% text('Notes') %] | [% PROCESS input element_data = { name='notes' id='notes' size='60' type='text' } %]
[% PROCESS business_classes; PROCESS date_row %]
[% text('Amount') %] >= | [% PROCESS input element_data = { name="from_amount" size="11" type="text" } %] | [% text('Amount') %]<= | [% PROCESS input element_data = { name="to_amount" size="11" type="text" } %]
[% text('Transaction status') %] |
[% PROCESS input element_data = { name = 'is_approved' type = 'radio' value = 'All' checked = 'CHECKED' }; %] [% text('All'); %] | [% PROCESS input element_data = { name = 'is_approved' type = 'radio' value = 'Y' }; %] [% text('Approved'); %] | [% PROCESS input element_data = { name = 'is_approved' type = 'radio' value = 'N' }; %] [% text('Unapproved'); %]
[% PROCESS input element_data = { name = 'is_voided' type = 'radio' value = 'All' checked = 'CHECKED' }; %] [% text('All'); %] | [% PROCESS input element_data = { name = 'is_voided' type = 'radio' value = 'Y' }; %] [% text('Reversed'); %] | [% PROCESS input element_data = { name = 'is_voided' type = 'radio' value = 'N' }; %] [% text('Non-reversed'); %]
[% PROCESS input element_data = { name="category" id="category-all" class="radio" type="radio" value="X" checked = "checked" } %] [% text('All') %] | [% PROCESS input element_data = { name="category" id="category-asset" class="radio" type="radio" value="A" } %] [% text('Asset') %] | [% PROCESS input element_data = { name="category" id="category-liability" class="radio" type="radio" value="L" } %] [% text('Liability') %] | [% PROCESS input element_data = { name="category" id="category-equity" class="radio" type="radio" value="Q" } %] [% text('Equity') %] | [% PROCESS input element_data = { name="category" id="category-income" class="radio" type="radio" value="I" } %] [% text('Income') %] | [% PROCESS input element_data = { name="category" id="category-expense" class="radio" type="radio" value="E" } %] [% text('Expense') %]
[% text('Include in Report') %] |
[% PROCESS input element_data = { name="col_id" class="checkbox" type="checkbox" value="1" } %] [% text('ID') %] | [% PROCESS input element_data = { name="col_transdate" class="checkbox" type="checkbox" value="1" checked="checked" } %] [% text('Date') %] | [% PROCESS input element_data = { name="col_reference" class="checkbox" type="checkbox" value="1" checked="checked" } %] [% text('Reference') %] | [% PROCESS input element_data = { name="col_eca_name" class="checkbox" type="checkbox" value="1" checked="checked" } %] [% text('Vendor/Customer') %] | [% PROCESS input element_data = { name="col_description" class="checkbox" type="checkbox" value="1" checked="checked" } %] [% text('Description') %]
[% PROCESS input element_data = { name="col_debits" class="checkbox" type="checkbox" value="1" checked="checked" } %] [% text('Debit') %] | [% PROCESS input element_data = { name="col_credits" class="checkbox" type="checkbox" value="1" checked="checked" } %] [% text('Credit') %] | [% PROCESS input element_data = { name="col_curr" class="checkbox" type="checkbox" value="1" } %] [% text('Currency') %] | [% PROCESS input element_data = { name="col_fx_debits" class="checkbox" type="checkbox" value="1" } %] [% text('FX Debit') %] | [% PROCESS input element_data = { name="col_fx_credits" class="checkbox" type="checkbox" value="1" } %] [% text('FX Credit') %]
[% PROCESS input element_data = { name="col_source" class="checkbox" type="checkbox" value="1" checked="checked" } %] [% text('Source') %] | [% PROCESS input element_data = { name="col_memo" class="checkbox" type="checkbox" value="1" } %] [% text('Memo') %] | [% PROCESS input element_data = { name="col_cleared" class="checkbox" type="checkbox" value="1" } %] [% text('Cleared') %]
[% PROCESS input element_data = { name="col_accno" class="checkbox" type="checkbox" value="1" checked="checked" } %] [% text('Account') %] | [% PROCESS input element_data = { name="col_accname" class="checkbox" type="checkbox" value="1" } %] [% text('Account Name') %] | [% PROCESS input element_data = { name="col_gifi_accno" class="checkbox" type="checkbox" value="1" } %] [% text('GIFI') %] | [% PROCESS input element_data = { name="col_running_balance" class="checkbox" type="checkbox" value="1" } %] [% text('Balance') %] | [% PROCESS input element_data = { name="subtotal" class="checkbox" type="checkbox" value="1" } %] [% text('Subtotal') %]

[% PROCESS input element_data = { type="hidden" name="path" value=path } %] [% PROCESS input element_data = { type="hidden" name="login" value=login } %]
[% PROCESS button element_data = { text = text('Continue') class="submit" type="submit" name="__action" value="search" } %]