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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt (-50 / +49 lines)
Lines 34-92 Link Here
34
<h1>Fund: [% fund_code %]</h1>
34
<h1>Fund: [% fund_code %]</h1>
35
<h2>Spent</h2>
35
<h2>Spent</h2>
36
36
37
38
<table id="spent">
37
<table id="spent">
39
    <thead>
38
    <thead>
40
    <tr>
39
        <tr>
41
        <th class="anti-the"> Title </th>
40
           <th class="anti-the">Title</th>
42
	<th> Order </th>
41
           <th>Order</th>
43
	<th> Vendor </th>
42
           <th>Vendor</th>
44
	<th> Invoice </th>
43
           <th>Invoice</th>
45
    <th> Item type </th>
44
           <th>Item type</th>
46
	<th> Received </th>
45
           <th>Received</th>
47
    <th> Unit price </th>
46
           <th>Unit price</th>
48
    <th class="title-string"> Date ordered </th>
47
           <th class="title-string">Date ordered</th>
49
    <th class="title-string"> Date received </th>
48
           <th class="title-string">Date received</th>
50
	<th> Subtotal </th>
49
           <th>Subtotal</th>
51
    </tr>
50
        </tr>
52
    </thead>
51
    </thead>
53
52
54
[% FOREACH order IN spent %]
53
    [% FOREACH order IN spent %]
55
    <tr>
54
        <tr>
56
	<td class="cell">
55
            <td class="cell">
57
            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">
56
                <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">
58
        [% order.title %]
57
                    [% order.title %]
59
            </a>
58
                </a>
60
	</td>
59
            </td>
61
	<td class="cell">
60
            <td class="cell">
62
        [% order.ordernumber %]
61
                [% order.ordernumber %]
63
	</td>
62
            </td>
64
	<td class="cell">
63
            <td class="cell">
65
	    <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid %]">[% order.booksellerid %]</a>
64
                <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid %]">[% order.booksellerid %]</a>
66
	</td>
65
            </td>
67
	<td class="cell">
66
            <td class="cell">
68
	    <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid %]">[% order.invoicenumber %]</a>
67
                <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid %]">[% order.invoicenumber %]</a>
69
	</td>
68
            </td>
70
	<td class="cell">
69
            <td class="cell">
71
        [% ItemTypes.GetDescription( order.itype ) %]
70
                [% ItemTypes.GetDescription( order.itype ) %]
72
	</td>
71
            </td>
73
	<td class="cell">
72
            <td class="cell">
74
	    [% order.quantityreceived %]
73
                [% order.quantityreceived %]
75
	</td>
74
            </td>
76
    <td class="cell">
75
            <td class="cell">
77
	    [% order.unitprice %]
76
                [% order.unitprice %]
78
	</td>
77
            </td>
79
    <td class="cell">
78
            <td class="cell">
80
        <span title="[% order.entrydate %]">[% order.entrydate | $KohaDates %]</span>
79
                <span title="[% order.entrydate %]">[% order.entrydate | $KohaDates %]</span>
81
	</td>
80
            </td>
82
    <td class="cell">
81
            <td class="cell">
83
        <span title="[% order.datereceived %]">[% order.datereceived | $KohaDates %]</span>
82
                <span title="[% order.datereceived %]">[% order.datereceived | $KohaDates %]</span>
84
	</td>
83
            </td>
85
    <td class="data cell">
84
            <td class="data cell">
86
	    [% order.rowtotal %]
85
                [% order.rowtotal %]
87
	</td>
86
            </td>
88
    </tr>
87
        </tr>
89
[% END %]
88
    [% END %]
89
90
    <tfoot>
90
    <tfoot>
91
        [% IF shipmentcosts.size %]
91
        [% IF shipmentcosts.size %]
92
            <tr valign="top">
92
            <tr valign="top">
93
- 

Return to bug 17771