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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt (-30 / +83 lines)
Lines 5-42 Link Here
5
<body>
5
<body>
6
[% INCLUDE 'header.inc' %]
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloging/addbooks.pl">Cataloging</a>  &rsaquo; Attach an item to <i>[% bibliotitle |html %]</i></div>
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloging/addbooks.pl">Cataloging</a>  &rsaquo; Attach an item to <i>[% bibliotitle |html %][% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle %][% END %]</i></div>
9
<div id="doc" class="yui-t7">
9
<div id="doc" class="yui-t7">
10
10
11
[% IF ( error ) %]
11
[% IF ( error ) %]
12
    <div class="dialog alert">
12
    <div class="dialog alert">
13
	[% IF ( errornonewitem ) %]ERROR: Unable to create the new item.[% END %]
13
14
	[% IF ( errornoitem ) %]ERROR: Unable to get the item.[% END %]
14
		[% IF ( errornonewitem ) %]ERROR: Unable to create the new item.<p>
15
	[% IF ( errornoitemnumber ) %]ERROR: Unable to get the item number from this barcode.[% END %]
15
16
    </div>
16
			[% IF ( BiblioDefaultViewmarc ) %]
17
    <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
17
				<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
18
	<input type="submit" value="OK" />
18
			[% ELSIF ( BiblioDefaultViewlabeled_marc ) %]
19
	<input type="hidden" name="biblionumber" value="[% biblionumber %]" />
19
				<form action="/cgi-bin/koha/catalogue/labeledMARCdetail.pl" method="post">
20
    </form>
20
			[% ELSIF ( BiblioDefaultViewisbd ) %]
21
[% ELSE %]
21
				<form action="/cgi-bin/koha/catalogue/ISBDdetail.pl" method="post">
22
    [% IF ( success ) %]
22
			[% ELSE %]
23
	<div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle |html %]</i></a>.[% IF ( BiblioDefaultViewmarc ) %]
23
				<form action="/cgi-bin/koha/catalogue/detail.pl" method="post">
24
	<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
24
			[% END %]
25
[% ELSIF ( BiblioDefaultViewlabeled_marc ) %]
25
				<input type="submit" class="approve" value="OK" />
26
	<form action="/cgi-bin/koha/catalogue/labeledMARCdetail.pl" method="post">
26
				<input type="hidden" name="biblionumber" value="[% biblionumber %]" />
27
[% ELSIF ( BiblioDefaultViewisbd ) %]
27
			</form>
28
	<form action="/cgi-bin/koha/catalogue/ISBDdetail.pl" method="post">
28
				<form method="link" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"/>
29
[% ELSE %]
29
				<input type="submit" class="new" value="Attach Item"/>
30
	<form method="link" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"/>
30
				<input type="hidden" name="biblionumber" value="[% biblionumber %]" />
31
[% END %]
31
			</form>
32
	    <input type="submit" class="attachanother" value="Attach Another Item"/>
32
		</div>
33
	    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
33
		[% END %]
34
	</form>
34
35
	<form action="/cgi-bin/koha/catalogue/detail.pl" method="post">
35
		[% IF ( errornoitem ) %]ERROR: Unable to get the item.<p>
36
	    <input type="submit"  class="approve" value="OK" />
36
37
	    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
37
			[% IF ( BiblioDefaultViewmarc ) %]
38
	</form>
38
				<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
39
</div>
39
			[% ELSIF ( BiblioDefaultViewlabeled_marc ) %]
40
				<form action="/cgi-bin/koha/catalogue/labeledMARCdetail.pl" method="post">
41
			[% ELSIF ( BiblioDefaultViewisbd ) %]
42
				<form action="/cgi-bin/koha/catalogue/ISBDdetail.pl" method="post">
43
			[% ELSE %]
44
				<form action="/cgi-bin/koha/catalogue/detail.pl" method="post">
45
			[% END %]
46
				<input type="submit" class="approve" value="OK" />
47
			    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
48
			</form>
49
				<form method="link" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"/>
50
				<input type="submit" class="new" value="Attach Item"/>
51
				<input type="hidden" name="biblionumber" value="[% biblionumber %]" />
52
			</form>
53
		</div>
54
		[% END %]
55
56
		[% IF ( errornoitemnumber ) %]ERROR: Unable to get the item number from this barcode.<p>
57
58
			[% IF ( BiblioDefaultViewmarc ) %]
59
				<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
60
			[% ELSIF ( BiblioDefaultViewlabeled_marc ) %]
61
				<form action="/cgi-bin/koha/catalogue/labeledMARCdetail.pl" method="post">
62
			[% ELSIF ( BiblioDefaultViewisbd ) %]
63
				<form action="/cgi-bin/koha/catalogue/ISBDdetail.pl" method="post">
64
			[% ELSE %]
65
				<form action="/cgi-bin/koha/catalogue/detail.pl" method="post">
66
			[% END %]
67
				<input type="submit" class="approve" value="OK" />
68
				<input type="hidden" name="biblionumber" value="[% biblionumber %]" />
69
			</form>
70
				<form method="link" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"/>
71
				<input type="submit" class="new" value="Attach Item"/>
72
				<input type="hidden" name="biblionumber" value="[% biblionumber %]" />
73
			</form>
74
		</div>
75
		[% END %]
76
77
	[% ELSE %]
78
	    [% IF ( success ) %]
79
			<div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle |html %]</i></a>.
80
		[% IF ( BiblioDefaultViewmarc ) %]
81
			<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
82
		[% ELSIF ( BiblioDefaultViewlabeled_marc ) %]
83
			<form action="/cgi-bin/koha/catalogue/labeledMARCdetail.pl" method="post">
84
		[% ELSIF ( BiblioDefaultViewisbd ) %]
85
			<form action="/cgi-bin/koha/catalogue/ISBDdetail.pl" method="post">
86
		[% ELSE %]
87
			<form action="/cgi-bin/koha/catalogue/detail.pl" method="post">
88
		[% END %]
89
		    <input type="submit"  class="approve" value="OK" />
90
			<input type="hidden" name="biblionumber" value="[% biblionumber %]" />
91
		</form>
92
	</div>
93
40
94
41
    [% ELSE %]
95
    [% ELSE %]
42
	[% IF ( missingparameter ) %]
96
	[% IF ( missingparameter ) %]
Lines 44-50 Link Here
44
	    [% IF ( missingbiblionumber ) %]
98
	    [% IF ( missingbiblionumber ) %]
45
	    <fieldset id="biblionumber_fieldset">
99
	    <fieldset id="biblionumber_fieldset">
46
		<label for="biblionumber">Select the biblionumber to attach the item to</label>
100
		<label for="biblionumber">Select the biblionumber to attach the item to</label>
47
		    <div class="hint">Enter biblionumber:</div>
101
			<div class="hint">Enter biblionumber:</div>
48
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
102
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
49
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
103
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
50
	    </fieldset>
104
	    </fieldset>
51
- 

Return to bug 6323