Bugzilla – Attachment 145798 Details for
Bug 32743
Reindent the invoice details page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32743: (follow-up) Add markup comments
Bug-32743-follow-up-Add-markup-comments.patch (text/plain), 7.03 KB, created by
Owen Leonard
on 2023-01-30 12:33:28 UTC
(
hide
)
Description:
Bug 32743: (follow-up) Add markup comments
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-01-30 12:33:28 UTC
Size:
7.03 KB
patch
obsolete
>From 45d79c62120e866c285cb7ad38e1e22bbe2a2f81 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 30 Jan 2023 12:28:03 +0000 >Subject: [PATCH] Bug 32743: (follow-up) Add markup comments > >This patch adds comments to the template to highlight the markup >structure. > >This patch should have no effect on the page's appearance or >functionality. >--- > .../prog/en/modules/acqui/invoice.tt | 32 +++++++++---------- > 1 file changed, 16 insertions(+), 16 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt >index 8e0255bede..eac6f77234 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt >@@ -173,7 +173,7 @@ > <input type="checkbox" name="close" id="close" /> > </li> > [% END %] >- [% END %] >+ [% END # /IF ( invoiceclosedate ) %] > </ol> > > <fieldset class="rows"> >@@ -246,8 +246,8 @@ > [% ELSE %] > <p title="Define values in authorised value category ADJ_REASON to enable">None</p> > <input type="hidden" name="reason" id="reason_[% adjustment.adjustment_id | html %]" value="" /> >- [% END %] >- [% END %] >+ [% END # /IF reasons.0 %] >+ [% END # /IF readonly %] > </td> > <td> > [% IF readonly %] >@@ -275,16 +275,16 @@ > <input type="checkbox" name="encumber_open" id="encumber_[% adjustment.adjustment_id | html %]" value="[% adjustment.adjustment_id | html %]" /> > [% END %] > </td> >- [% END %] >+ [% END # /IF adjustment.encumber_open %] > [% UNLESS readonly %] > <td> > <a class="btn btn-default btn-xs delete_adjustment" href="/cgi-bin/koha/acqui/invoice.pl?op=del_adj&adjustment_id=[% adjustment.adjustment_id | html %]&invoiceid=[% invoiceid | html %]"><i class="fa fa-trash"></i> Delete</a> > </td> > [% END %] > </tr> >- [% END %] >- </table> >- [% END %] >+ [% END # /FOREACH adjustment %] >+ </table> <!-- /#invoice_adj_table --> >+ [% END # /IF adjustments %] > > [% UNLESS readonly %] > <p> >@@ -318,7 +318,7 @@ > <span>None</span> > <div class="hint">Define values in authorised value category ADJ_REASON to enable</div> > </li> >- [% END %] >+ [% END # /IF reasons.0 %] > <li> > <label for="note_new">Note: </label> > <input type="text" name="note" id="note_new" value=""/> >@@ -336,12 +336,12 @@ > <a href="#" id="cancel_invoice_adjustment" class="toggle_invoice_adjustment" style="display:none"><i class="fa fa-remove"></i> Cancel</a> > </li> > </ol> >- </fieldset> >+ </fieldset> <!-- /#add_invoice_adjustment --> > <fieldset class="action"> > <input type="hidden" name="op" value="mod_adj" /> > <input type="submit" class="btn btn-primary" value="Update adjustments" /> > </fieldset> >- [% END %] >+ [% END #/UNLESS readonly %] > </fieldset> > </form> > >@@ -428,7 +428,7 @@ > <a href="#" class="modify_fund" data-order_id="[% order.ordernumber | html %]" data-budget_id="[% order.budget_id | html %]" data-sort_1="[% order.sort1 | html %]" data-sort_2="[% order.sort2 | html %]" data-sort1="[% order.sort1 | html %]" data-sort2="[% order.sort2 | html %]">Modify fund</a> > </td> > </tr> >- [% END %] >+ [% END # /FOREACH order %] > </tbody> > <tfoot> > [% FOR tf IN foot_loop %] >@@ -444,7 +444,7 @@ > <th>[% tf.tax_value | $Price %]</th> > <th> </th> > </tr> >- [% END %] >+ [% END # /FOR tf %] > <tr> > <th colspan="2">Total ([% currency.symbol | html %])</th> > <th class="tax_excluded"></th> >@@ -470,7 +470,7 @@ > <th> </th> > </tr> > </tfoot> >- </table> >+ </table> <!-- /#orderst --> > [% ELSE %] > <div class="dialog message"> > <p>No orders yet</p> >@@ -478,7 +478,7 @@ > <p>Adjustments plus shipping: [% total_adj + shipmentcost | $Price %]</p> > [% END %] > </div> >- [% END %] >+ [% END # /IF orders_loop.size %] > [% IF ( (Koha.Preference('AcqEnableFiles')) && files ) %] > <br /> > <h2>Files attached to invoice</h2> >@@ -505,8 +505,8 @@ > </tr> > [% END %] > </tbody> >- </table> >- [% END %] >+ </table> <!-- /#invoice_files_table --> >+ [% END # /IF AcqEnableFiles %] > </fieldset> > </main> > </div> <!-- /.col-sm-10.col-sm-push-2 --> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32743
:
145797
|
145798
|
145833
|
145885
|
145886
|
146043
|
146044
|
146192
|
146193