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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt (-1 / +1 lines)
Lines 157-163 $(document).ready(function() { Link Here
157
                        <td>[% budget_name_spent %]</td>
157
                        <td>[% budget_name_spent %]</td>
158
                        <td>
158
                        <td>
159
                            [% IF ( spent_exists ) %]
159
                            [% IF ( spent_exists ) %]
160
                                <a href="/cgi-bin/koha/acqui/invoice.pl?invoicenumber=[% invoicenumber %]">See invoice informations</a>
160
                                <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoiceid %]">See invoice informations</a>
161
                            [% END %]
161
                            [% END %]
162
                        </td>
162
                        </td>
163
                    </tr>
163
                    </tr>
(-)a/serials/subscription-detail.pl (-2 / +1 lines)
Lines 150-156 if ( defined $subscriptionid ) { Link Here
150
        $tmpl_infos->{valuegsti_spent} = sprintf( "%.2f", $tmpl_infos->{valuegsti_spent} );
150
        $tmpl_infos->{valuegsti_spent} = sprintf( "%.2f", $tmpl_infos->{valuegsti_spent} );
151
        $tmpl_infos->{valuegste_spent} = sprintf( "%.2f", $tmpl_infos->{valuegste_spent} );
151
        $tmpl_infos->{valuegste_spent} = sprintf( "%.2f", $tmpl_infos->{valuegste_spent} );
152
        $tmpl_infos->{budget_name_spent} = GetBudgetName $lastOrderReceived->{budget_id};
152
        $tmpl_infos->{budget_name_spent} = GetBudgetName $lastOrderReceived->{budget_id};
153
        $tmpl_infos->{invoicenumber} = $lastOrderReceived->{booksellerinvoicenumber};
153
        $tmpl_infos->{invoiceid} = $lastOrderReceived->{invoiceid};
154
        $tmpl_infos->{spent_exists} = 1;
154
        $tmpl_infos->{spent_exists} = 1;
155
    }
155
    }
156
}
156
}
157
- 

Return to bug 5343