Bugzilla – Attachment 50772 Details for
Bug 16351
Error when trying to receive a new shipment without specifying invoice number
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16351: Making invoice number a required field
Bug-16351-Making-invoice-number-a-required-field.patch (text/plain), 1.80 KB, created by
Aleisha Amohia
on 2016-04-27 00:32:26 UTC
(
hide
)
Description:
Bug 16351: Making invoice number a required field
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-04-27 00:32:26 UTC
Size:
1.80 KB
patch
obsolete
>From ad2bdb22d92d6ca9f992141f4f6f8d10e42eecf3 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Tue, 26 Apr 2016 01:27:19 +0000 >Subject: [PATCH] Bug 16351: Making invoice number a required field > >EDIT: Added 'validated' class to form and removed 'Required' span (became unnecessary) > >To test: >1) Go to Acqui -> Do a vendor search >2) Receive a shipment >3) Attempt to click 'Next' without specifying invoice number. Notice error. >4) Go back to vendor search then apply patch. Click Receive shipment >5) Notice you cannot click 'Next' until you put something in invoice number. > >Sponsored-by: Catalyst IT >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt >index 613098d..8c38139 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt >@@ -146,14 +146,14 @@ > [% END %] > > <div id="parcels_new_parcel"> >- <form method="get" action="parcels.pl"> >+ <form method="get" action="parcels.pl" class="validated"> > <fieldset class="rows"> > <legend>Receive a new shipment</legend> > <ol> <li> >- <label for="invoice">Vendor invoice </label> >+ <label for="invoice" class="required">Vendor invoice:</label> > <input type="hidden" name="booksellerid" value="[% booksellerid %]" /> > <input type="hidden" name="op" value="new" /> >- <input type="text" size="20" id="invoice" name="invoice" class="focus" /> >+ <input type="text" size="20" id="invoice" name="invoice" class="focus required" required="required" /> > </li> > [% IF ( gst ) %] > <li> >-- >1.7.10.4
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 16351
:
50692
|
50772
|
50816
|
50836