View | Details | Raw Unified | Return to bug 24082
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt (-23 / +22 lines)
Lines 149-175 Link Here
149
            [% IF register.cashups %]
149
            [% IF register.cashups %]
150
            <h2>Older transactions</h2>
150
            <h2>Older transactions</h2>
151
            <form method="GET" action="/cgi-bin/koha/pos/register.pl">
151
            <form method="GET" action="/cgi-bin/koha/pos/register.pl">
152
			<fieldset class="rows">
152
                <fieldset class="rows">
153
                            Please select a date range to display transactions for:
153
                    Please select a date range to display transactions for:
154
                            <ol>
154
                    <ol>
155
                                <li>
155
                        <li>
156
                                    <label for="trange_f">From: </label>
156
                            <label for="trange_f">From: </label>
157
                                    <input type="text" size="10" id="from" name="trange_f" value="[% trange_f | html %]"/>
157
                            <input type="text" size="10" id="from" name="trange_f" value="[% trange_f | html %]"/>
158
                                    <label class="inline" for="trange_t">To: </label>
158
                            <label class="inline" for="trange_t">To: </label>
159
                                    [% IF trange_t %]
159
                            [% IF trange_t %]
160
                                    <input size="10" id="to" name="trange_t" value="[% trange_t | html %]" type="text"/>
160
                            <input size="10" id="to" name="trange_t" value="[% trange_t | html %]" type="text"/>
161
                                    [% ELSE %]
161
                            [% ELSE %]
162
                                    <input size="10" id="to" name="trange_t" value="[% register.last_cashup.timestamp | $KohaDates with_hours => 0, dateformat => 'metric' %]" type="text"/>
162
                            <input size="10" id="to" name="trange_t" value="[% register.last_cashup.timestamp | $KohaDates with_hours => 0, dateformat => 'metric' %]" type="text"/>
163
                                    [% END %]
163
                            [% END %]
164
                                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
164
                            <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
165
                                </li>
165
                        </li>
166
                            </ol>
166
                    </ol>
167
			</fieldset>
167
                </fieldset>
168
168
169
            <div class="action">
169
                <div class="action">
170
	            <input type="hidden" name="registerid" value="[% register.id | html %]">
170
                    <input type="hidden" name="registerid" value="[% register.id | html %]">
171
	            <input type="submit" value="Display" />
171
                    <input type="submit" value="Display" />
172
            </div>
172
                </div>
173
            </form>
173
            </form>
174
174
175
            [% IF trange_f %]
175
            [% IF trange_f %]
Lines 203-209 Link Here
203
                            [% FOREACH credit IN accountline.credit_offsets %]
203
                            [% FOREACH credit IN accountline.credit_offsets %]
204
                            [% IF credit.debit %]
204
                            [% IF credit.debit %]
205
                            <tr>
205
                            <tr>
206
                                <td>[% accountline.accountlines_id %]</td>
206
                                <td>[% accountline.accountlines_id | html %]</td>
207
                                <td>{ "type": "credit", "description": "[%- PROCESS account_type_description account=accountline -%] ([% accountline.payment_type | html %])", "amount": "[% accountline.amount * -1 | $Price %]" }</td>
207
                                <td>{ "type": "credit", "description": "[%- PROCESS account_type_description account=accountline -%] ([% accountline.payment_type | html %])", "amount": "[% accountline.amount * -1 | $Price %]" }</td>
208
                                <td></td>
208
                                <td></td>
209
                                <td>[%- PROCESS account_type_description account=credit.debit -%]
209
                                <td>[%- PROCESS account_type_description account=credit.debit -%]
Lines 224-230 Link Here
224
                            [% FOREACH debit IN accountline.debit_offsets %]
224
                            [% FOREACH debit IN accountline.debit_offsets %]
225
                            [% IF debit.credit %]
225
                            [% IF debit.credit %]
226
                            <tr>
226
                            <tr>
227
                                <td>[% accountline.accountlines_id %]</td>
227
                                <td>[% accountline.accountlines_id | html %]</td>
228
                                <td>{ "type": "debit", "description": "[%- PROCESS account_type_description account=accountline -%] ([% accountline.payment_type | html %])", "amount": "[% accountline.amount * -1 | $Price %]" }</td>
228
                                <td>{ "type": "debit", "description": "[%- PROCESS account_type_description account=accountline -%] ([% accountline.payment_type | html %])", "amount": "[% accountline.amount * -1 | $Price %]" }</td>
229
                                <td></td>
229
                                <td></td>
230
                                <td>[%- PROCESS account_type_description account=debit.credit -%]</td>
230
                                <td>[%- PROCESS account_type_description account=debit.credit -%]</td>
231
- 

Return to bug 24082