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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt (-29 / +34 lines)
Lines 50-87 Link Here
50
[% INCLUDE 'blocking_errors.inc' %]
50
[% INCLUDE 'blocking_errors.inc' %]
51
51
52
<h3>Barcode [% barcode | html %]</h3>
52
<h3>Barcode [% barcode | html %]</h3>
53
<table>
53
<div class="page-section">
54
        <tr><th>Home library</th><th>Current library</th><th>Date arrived<br />at current library </th><th>Number of checkouts<br />since last transfer</th></tr>
54
    <table>
55
            <tr><th>Home library</th><th>Current library</th><th>Date arrived<br />at current library </th><th>Number of checkouts<br />since last transfer</th></tr>
55
56
56
        <tr><td>[% Branches.GetName( homebranch ) | html %]</td>
57
            <tr><td>[% Branches.GetName( homebranch ) | html %]</td>
57
            <td>[% Branches.GetName( holdingbranch ) | html %]</td>
58
                <td>[% Branches.GetName( holdingbranch ) | html %]</td>
58
            <td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %]Item has no transfer record[% END %]</td>
59
                <td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %]Item has no transfer record[% END %]</td>
59
            <td>[% count | html %]</td>
60
                <td>[% count | html %]</td>
60
        </tr>
61
            </tr>
61
</table>
62
    </table>
62
<table>
63
</div> <!-- /.page-section -->
63
    <tr>
64
64
        <th>Library</th>
65
<div class="page-section">
65
        <th>No. of times checked out</th>
66
    <table>
66
        <th>Last seen</th>
67
    </tr>
68
    [% FOREACH library IN libraries %]
69
    [% IF library.selected %]
70
        <tr class="mybranch">
71
    [% ELSE %]
72
        <tr>
67
        <tr>
73
    [% END %]
68
            <th>Library</th>
74
            <td>[% library.branchname | html %]</td>
69
            <th>No. of times checked out</th>
75
            <td>[% library.issues | html %]</td>
70
            <th>Last seen</th>
76
            <td>[% IF library.seen %]
77
                    [% library.seen | $KohaDates  with_hours => 1 %]
78
                [% ELSE %]
79
                    <span>Never</span>
80
                [% END %]
81
            </td>
82
        </tr>
71
        </tr>
83
    [% END %]
72
        [% FOREACH library IN libraries %]
84
</table>
73
        [% IF library.selected %]
74
            <tr class="mybranch">
75
        [% ELSE %]
76
            <tr>
77
        [% END %]
78
                <td>[% library.branchname | html %]</td>
79
                <td>[% library.issues | html %]</td>
80
                <td>[% IF library.seen %]
81
                        [% library.seen | $KohaDates  with_hours => 1 %]
82
                    [% ELSE %]
83
                        <span>Never</span>
84
                    [% END %]
85
                </td>
86
            </tr>
87
        [% END %]
88
    </table>
89
</div> <!-- /.page-section -->
85
90
86
            </main>
91
            </main>
87
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
92
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt (-28 / +30 lines)
Lines 49-88 Link Here
49
</form>
49
</form>
50
50
51
    [% IF ( overduesloop ) %]
51
    [% IF ( overduesloop ) %]
52
        <table style="width:100%;">
52
        <div class="page-section">
53
        <tr>
53
            <table style="width:100%;">
54
            <th>Date due</th>
55
            <th>Title</th>
56
            <th>Patron</th>
57
            <th>Location</th>
58
        </tr>
59
            [% FOREACH overduesloo IN overduesloop %]
60
                <tr>
54
                <tr>
61
                    <td>
55
                    <th>Date due</th>
62
                        [% overduesloo.date_due | html %]
56
                    <th>Title</th>
63
                    </td>
57
                    <th>Patron</th>
64
                    <td>
58
                    <th>Location</th>
65
                        [% INCLUDE 'biblio-title.inc' biblio=overduesloo link = 1 %] [% IF ( overduesloo.author ) %] by [% overduesloo.author | html %][% END %]
66
67
                            <br />Barcode : [% overduesloo.barcode | html %]
68
                    </td>
69
                    <td>
70
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overduesloo.borrowernumber | uri %]">[% overduesloo.borrowersurname | html %], [% overduesloo.borrowerfirstname | html %]</a>
71
                        <br />[% overduesloo.cardnumber | html %]
72
                        <br />[% overduesloo.borrowerphone | html %]<br />
73
                    [% IF ( overduesloo.borroweremail ) %]<a href="mailto:[% overduesloo.borroweremail | uri %]?subject=Overdue: [% overduesloo.title | uri %]">
74
                    [% overduesloo.borroweremail | html %]</a>[% END %]
75
                    </td>
76
                    <td>[% Branches.GetName( overduesloo.homebranch ) | html %] [% overduesloo.itemcallnumber | html %]
77
                    </td>
78
                </tr>
59
                </tr>
79
            [% END %]
60
                [% FOREACH overduesloo IN overduesloop %]
80
        </table>
61
                    <tr>
62
                        <td>
63
                            [% overduesloo.date_due | html %]
64
                        </td>
65
                        <td>
66
                            [% INCLUDE 'biblio-title.inc' biblio=overduesloo link = 1 %] [% IF ( overduesloo.author ) %] by [% overduesloo.author | html %][% END %]
67
68
                                <br />Barcode : [% overduesloo.barcode | html %]
69
                        </td>
70
                        <td>
71
                            <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overduesloo.borrowernumber | uri %]">[% overduesloo.borrowersurname | html %], [% overduesloo.borrowerfirstname | html %]</a>
72
                            <br />[% overduesloo.cardnumber | html %]
73
                            <br />[% overduesloo.borrowerphone | html %]<br />
74
                        [% IF ( overduesloo.borroweremail ) %]<a href="mailto:[% overduesloo.borroweremail | uri %]?subject=Overdue: [% overduesloo.title | uri %]">
75
                        [% overduesloo.borroweremail | html %]</a>[% END %]
76
                        </td>
77
                        <td>[% Branches.GetName( overduesloo.homebranch ) | html %] [% overduesloo.itemcallnumber | html %]
78
                        </td>
79
                    </tr>
80
                [% END %]
81
            </table>
82
        </div> <!-- /.page-section -->
81
    [% ELSE %]
83
    [% ELSE %]
82
        <div class="dialog message">There are no overdues for today[% IF ( location ) %] at the selected location[% END %].</div>
84
        <div class="dialog message">There are no overdues for today[% IF ( location ) %] at the selected location[% END %].</div>
83
    [% END %]
85
    [% END %]
84
    [% IF ( todayoverduesloop ) %]
86
    [% IF ( todayoverduesloop ) %]
85
        <div id="branch_odues_today_odues">
87
        <div id="branch_odues_today_odues" class="page-section">
86
            <table style="width:100%;">
88
            <table style="width:100%;">
87
			<caption>Today's notifications</caption>
89
			<caption>Today's notifications</caption>
88
            <tr>
90
            <tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt (-30 / +32 lines)
Lines 47-82 Link Here
47
47
48
        <h1>Pending on-site checkouts</h1>
48
        <h1>Pending on-site checkouts</h1>
49
        [% IF pending_onsite_checkouts %]
49
        [% IF pending_onsite_checkouts %]
50
          <table id="pending_onsite_checkout">
50
            <div class="page-section">
51
            <thead>
51
                <table id="pending_onsite_checkout">
52
              <tr>
52
                    <thead>
53
                <th>Date</th><th>Patron</th><th>Title</th><th>Call number</th><th>Barcode</th><th>Library</th><th>Location</th>
53
                        <tr>
54
              </tr>
54
                            <th>Date</th><th>Patron</th><th>Title</th><th>Call number</th><th>Barcode</th><th>Library</th><th>Location</th>
55
            </thead>
55
                        </tr>
56
            <tbody>
56
                    </thead>
57
              [% FOREACH item IN pending_onsite_checkouts %]
57
                    <tbody>
58
                <tr>
58
                        [% FOREACH item IN pending_onsite_checkouts %]
59
                  <td data-order="[% item.date_due | html %]">
59
                            <tr>
60
                    [% IF item.is_overdue %]<span class="overdue">[% END %]
60
                                <td data-order="[% item.date_due | html %]">
61
                    [% item.date_due | $KohaDates %]
61
                                    [% IF item.is_overdue %]<span class="overdue">[% END %]
62
                    [% IF item.is_overdue %]</span>[% END %]
62
                                    [% item.date_due | $KohaDates %]
63
                  </td>
63
                                    [% IF item.is_overdue %]</span>[% END %]
64
                  <td>
64
                                </td>
65
                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber | uri %]">[% item.firstname | html %] [% item.surname | html %]</a>
65
                                <td>
66
                  </td>
66
                                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber | uri %]">[% item.firstname | html %] [% item.surname | html %]</a>
67
                  <td>
67
                                </td>
68
                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber | uri %]"><strong>[% item.title | html %]</strong></a>[% IF ( item.author ) %], by [% item.author | html %][% END %][% IF ( item.itemnotes ) %]- <span class="circ-hlt">[% item.itemnotes | $raw %]</span>[% END %]
68
                                <td>
69
                  </td>
69
                                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber | uri %]"><strong>[% item.title | html %]</strong></a>[% IF ( item.author ) %], by [% item.author | html %][% END %][% IF ( item.itemnotes ) %]- <span class="circ-hlt">[% item.itemnotes | $raw %]</span>[% END %]
70
                  <td>[% item.itemcallnumber | html %]</td>
70
                                </td>
71
                  <td>
71
                                <td>[% item.itemcallnumber | html %]</td>
72
                    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber | uri %]&amp;itemnumber=[% item.itemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a>
72
                                <td>
73
                  </td>
73
                                    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber | uri %]&amp;itemnumber=[% item.itemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a>
74
                  <td>[% Branches.GetName(item.branchcode) | html %]</td>
74
                                </td>
75
                  <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]</td>
75
                                <td>[% Branches.GetName(item.branchcode) | html %]</td>
76
                </tr>
76
                                <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]</td>
77
              [% END %]
77
                            </tr>
78
            </tbody>
78
                        [% END %]
79
          </table>
79
                    </tbody>
80
                </table>
81
            </div> <!-- /.page-section -->
80
        [% ELSE %]
82
        [% ELSE %]
81
          <h3>No pending on-site checkout.</h3>
83
          <h3>No pending on-site checkout.</h3>
82
        [% END %]
84
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt (-1 / +1 lines)
Lines 80-86 Link Here
80
  </p>
80
  </p>
81
81
82
  <div class="sql"><pre>[% sql | html %]</pre></div>
82
  <div class="sql"><pre>[% sql | html %]</pre></div>
83
  <div class="searchresults">
83
  <div class="page-section searchresults">
84
    <table id="overduest">
84
    <table id="overduest">
85
      <thead>
85
      <thead>
86
        <tr>
86
        <tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt (-38 / +40 lines)
Lines 51-95 Link Here
51
                        <div id="resultlist">
51
                        <div id="resultlist">
52
                            [% FOREACH library IN libraries %]
52
                            [% FOREACH library IN libraries %]
53
                                [% IF ( library.branchcode ) %]
53
                                [% IF ( library.branchcode ) %]
54
                                <table style="width: 100%" id="transferst[% library.branchcode | html %]">
54
                                    <div class="page-section">
55
                                    <caption>Sending to [% library.branchname | html %]</caption>
55
                                        <table style="width: 100%" id="transferst[% library.branchcode | html %]">
56
                                    <thead>
56
                                            <caption>Sending to [% library.branchname | html %]</caption>
57
                                        <tr>
57
                                            <thead>
58
                                            <th>Date of request</th>
58
                                                <tr>
59
                                            <th class="anti-the">Title</th>
59
                                                    <th>Date of request</th>
60
                                            <th>Reason</th>
60
                                                    <th class="anti-the">Title</th>
61
                                            <th>On loan</th>
61
                                                    <th>Reason</th>
62
                                            <th>Home library</th>
62
                                                    <th>On loan</th>
63
                                            <th>Call number</th>
63
                                                    <th>Home library</th>
64
                                            <th>Actions</th>
64
                                                    <th>Call number</th>
65
                                        </tr>
65
                                                    <th>Actions</th>
66
                                    </thead>
66
                                                </tr>
67
                                    <tbody>
67
                                            </thead>
68
                                        [% FOREACH transfer IN library.inbound_transfers %]
68
                                            <tbody>
69
                                            [% UNLESS transfer.datesent %]
69
                                                [% FOREACH transfer IN library.inbound_transfers %]
70
                                            <tr>
70
                                                    [% UNLESS transfer.datesent %]
71
                                                <td data-order="[% transfer.daterequested | html %]">
71
                                                    <tr>
72
                                                    [% transfer.daterequested | $KohaDates %]
72
                                                        <td data-order="[% transfer.daterequested | html %]">
73
                                                </td>
73
                                                            [% transfer.daterequested | $KohaDates %]
74
                                                <td>
74
                                                        </td>
75
                                                    [% INCLUDE 'biblio-title.inc' biblio = transfer.item.biblio link = 1 %][% IF ( transfer.item.biblio.author ) %] by [% transfer.item.biblio.author | html %][% END %]
75
                                                        <td>
76
                                                    [% IF ( transfer.item.effective_itemtype ) %] (<b>[% ItemTypes.GetDescription( transfer.item.effective_itemtype ) | html %]</b>)[% END %]
76
                                                            [% INCLUDE 'biblio-title.inc' biblio = transfer.item.biblio link = 1 %][% IF ( transfer.item.biblio.author ) %] by [% transfer.item.biblio.author | html %][% END %]
77
                                                    <br />Barcode: [% transfer.item.barcode | html %]
77
                                                            [% IF ( transfer.item.effective_itemtype ) %] (<b>[% ItemTypes.GetDescription( transfer.item.effective_itemtype ) | html %]</b>)[% END %]
78
                                                </td>
78
                                                            <br />Barcode: [% transfer.item.barcode | html %]
79
                                                <td><p>[% PROCESS transfer_reason transfer=transfer %]</p></td>
79
                                                        </td>
80
                                                <td>[% IF transfer.item.onloan %]Due [% transfer.item.onloan | $KohaDates %][% ELSE %]On shelf[% END %]</td>
80
                                                        <td><p>[% PROCESS transfer_reason transfer=transfer %]</p></td>
81
                                                <td>[% Branches.GetName( transfer.item.homebranch ) | html %]</td>
81
                                                        <td>[% IF transfer.item.onloan %]Due [% transfer.item.onloan | $KohaDates %][% ELSE %]On shelf[% END %]</td>
82
                                                <td>[% transfer.item.itemcallnumber | html %]</td>
82
                                                        <td>[% Branches.GetName( transfer.item.homebranch ) | html %]</td>
83
                                                <td class="actions">
83
                                                        <td>[% transfer.item.itemcallnumber | html %]</td>
84
                                                    [% IF transfer.reason == 'StockrotationAdvance' %]
84
                                                        <td class="actions">
85
                                                    <a href="/cgi-bin/koha/catalogue/stockrotation.pl?op=toggle_in_demand&stage_id=4&item_id=[% transfer.itemnumber | uri %]&biblionumber=[% transfer.item.biblionumber | uri %]" class="btn btn-default btn-xs"><i class="fa fa-fire"></i> Mark "In demand"</a>
85
                                                            [% IF transfer.reason == 'StockrotationAdvance' %]
86
                                                            <a href="/cgi-bin/koha/catalogue/stockrotation.pl?op=toggle_in_demand&stage_id=4&item_id=[% transfer.itemnumber | uri %]&biblionumber=[% transfer.item.biblionumber | uri %]" class="btn btn-default btn-xs"><i class="fa fa-fire"></i> Mark "In demand"</a>
87
                                                            [% END %]
88
                                                        </td>
89
                                                    </tr>
86
                                                    [% END %]
90
                                                    [% END %]
87
                                                </td>
91
                                                [% END %]
88
                                            </tr>
92
                                            </tbody>
89
                                            [% END %]
93
                                        </table>
90
                                        [% END %]
94
                                    </div> <!-- /.page-section -->
91
                                    </tbody>
92
                                </table>
93
                                [% END %]
95
                                [% END %]
94
                            [% END %]
96
                            [% END %]
95
                        </div>
97
                        </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-1 / +2 lines)
Lines 51-56 Link Here
51
        <div id="resultlist">
51
        <div id="resultlist">
52
        [% FOREACH branchesloo IN branchesloop %]
52
        [% FOREACH branchesloo IN branchesloop %]
53
            [% IF ( branchesloo.branchcode ) %]
53
            [% IF ( branchesloo.branchcode ) %]
54
                <div class="page-section">
54
            <table style="width: 100%" id="transferst[% branchesloo.branchcode | html %]">
55
            <table style="width: 100%" id="transferst[% branchesloo.branchcode | html %]">
55
            <caption>Coming from [% branchesloo.branchname | html %]</caption>
56
            <caption>Coming from [% branchesloo.branchname | html %]</caption>
56
            <thead><tr>
57
            <thead><tr>
Lines 97-102 Link Here
97
                </tr>
98
                </tr>
98
            [% END %]</tbody>
99
            [% END %]</tbody>
99
            </table>
100
            </table>
101
            </div> <!-- /.page-section -->
100
            [% END %]
102
            [% END %]
101
        [% END %]
103
        [% END %]
102
        </div>
104
        </div>
103
- 

Return to bug 32207