Bugzilla – Attachment 151142 Details for
Bug 8179
Receiving multiple order lines at once
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8179: Cosmetic changes
Bug-8179-Cosmetic-changes.patch (text/plain), 5.74 KB, created by
Kyle M Hall (khall)
on 2023-05-12 16:35:26 UTC
(
hide
)
Description:
Bug 8179: Cosmetic changes
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-05-12 16:35:26 UTC
Size:
5.74 KB
patch
obsolete
>From be3a60feb19f659c572632d04fb517223b2bfff5 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 11 May 2023 14:53:54 -0300 >Subject: [PATCH] Bug 8179: Cosmetic changes > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../prog/en/modules/acqui/orderreceive.tt | 24 +++++++++---------- > 1 file changed, 12 insertions(+), 12 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >index 1340f59475..7e0a8da379 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -60,7 +60,7 @@ > > <div class="col"> > <fieldset class="action"> >- <button class="save btn btn-primary" disabled>Save</button> >+ <button class="save btn btn-primary" disabled>Confirm</button> > <a class="cancel btn btn-default" href="/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% invoiceid | html %]&sticky_filters=1">Cancel</a> > </fieldset> > <div id="jobpanel"><div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div> >@@ -217,7 +217,7 @@ > <ol> > <li> > <label for="datereceived">Date received: </label> >- <input type="text" size="10" id="datereceived" name="datereceived" class="datepicker" /> >+ <input type="text" size="10" id="datereceived" name="datereceived" class="flatpickr" /> > </li> > <li> > <label for="bookfund">Fund: </label> >@@ -358,7 +358,7 @@ > <style> > @media (min-width: 1200px) { > #receive-modal, #receive-modal .modal-content { >- width: 1150px; >+ width: 98%; > } > } > #receive-modal .modal-body { >@@ -461,8 +461,8 @@ > var funds_tree = []; > > var QTY_TOTAL = _("Receiving %0$s out of %1$s"); >- var EDIT = _("edit"); >- var MOD_TITLE = _("Edit %s"); >+ var EDIT = _("Edit"); >+ var MOD_TITLE = _("Edit order #%s (%s)"); > var SUGGESTION = _("suggestion #%s"); > var FUND_KEEP = _("Keep current (%0$s - %1$s)"); > var FUNC_CUR = _("(Current: %0$s - %1$s)"); >@@ -572,7 +572,7 @@ > "searchable": false, > "orderable": false, > "render": function(data, type, row, meta) { >- return '<a data-toggle="modal" href="#order_edit" data-row="'+meta.row+'" class="order_edit_toggle">'+EDIT+'</a>'; >+ return '<a class="btn btn-default btn-xs" data-toggle="modal" href="#order_edit" data-row="'+meta.row+'" class="order_edit_toggle" role="button"><i class="fa fa-pencil" aria-hidden="true"></i> '+EDIT+'</a>'; > } > } > ] >@@ -1024,7 +1024,7 @@ > modal.data('row', row); > } > $('input, select, textarea', '.modal-body').val(null) >- modal.find(".modal-title").text(MOD_TITLE.format(row.biblio.title)); >+ modal.find(".modal-title").text(MOD_TITLE.format(escape_str(row.order_id),escape_str(row.biblio.title))); > ["title", "author", "copyright_date", "isbn", "series_title"].forEach(function(key){ > var o = modal.find(".modal-body #biblio_"+key); > if(row.biblio[key] !== null) { >@@ -1068,7 +1068,7 @@ > } > > var effective_create_items = row.basket.create_items || AcqCreateItem; >- $("#datereceived").val(row.date_received||$date(new Date().toISOString())).change(); >+ $("#datereceived").val(row.date_received||$date(new Date().toISOString())); > $("#bookfund option[value='']").html(FUND_KEEP.format(row.fund.budget.budget_period_description, row.fund.name)); > if(row.fund_id != row.fund.fund_id) { > $("#bookfund").val(row.fund_id); >@@ -1083,13 +1083,13 @@ > var rrp_txt; > var ecost_txt; > if(invoiceincgst == "1") { >- rrp_txt = Number(row.rrp_tax_included).format_price()+'<span class="hint">'+ADJ_TAX_INC.format(active_currency)+"</span>"; >- ecost_txt = Number(row.ecost_tax_included).format_price()+'<span class="hint">'+TAX_INC+"</span>"; >+ rrp_txt = Number(row.rrp_tax_included).format_price()+'<span class="hint"> '+ADJ_TAX_INC.format(active_currency)+"</span>"; >+ ecost_txt = Number(row.ecost_tax_included).format_price()+'<span class="hint"> '+TAX_INC+"</span>"; > $("#unitprice").val(row.unit_price_tax_included); > $("#unitprice_hint").html(TAX_INC); > } else { >- rrp_txt = Number(row.rrp_tax_excluded).format_price()+'<span class="hint">'+ADJ_TAX_EXC.format(active_currency)+"</span>"; >- ecost_txt = Number(row.ecost_tax_excluded).format_price()+'<span class="hint">'+TAX_EXC+"</span>"; >+ rrp_txt = Number(row.rrp_tax_excluded).format_price()+'<span class="hint"> '+ADJ_TAX_EXC.format(active_currency)+"</span>"; >+ ecost_txt = Number(row.ecost_tax_excluded).format_price()+'<span class="hint"> '+TAX_EXC+"</span>"; > $("#unitprice").val(row.unit_price_tax_excluded); > $("#unitprice_hint").html(TAX_EXC); > } >-- >2.30.2
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 8179
:
9881
|
111437
|
111438
|
111439
|
111440
|
112554
|
112555
|
112556
|
112558
|
112588
|
112643
|
112644
|
112645
|
112646
|
112744
|
112745
|
112746
|
112747
|
114688
|
114689
|
114690
|
114691
|
116582
|
116583
|
116584
|
116585
|
116588
|
116589
|
116590
|
116591
|
116681
|
116682
|
116683
|
116684
|
116942
|
116943
|
116944
|
116945
|
119178
|
119179
|
119180
|
119181
|
120620
|
120621
|
120622
|
120623
|
148215
|
148216
|
148217
|
148218
|
148233
|
148284
|
148285
|
148286
|
148287
|
148288
|
148521
|
148522
|
148523
|
148524
|
148525
|
148526
|
148685
|
148981
|
148982
|
148983
|
148984
|
148985
|
148986
|
151026
|
151086
|
151087
|
151088
|
151089
|
151092
|
151093
|
151137
|
151138
|
151139
|
151140
|
151141
| 151142 |
151143
|
151144
|
151145
|
151163
|
151250
|
151367
|
151431