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

(-)a/acqui/neworderempty.pl (+1 lines)
Lines 383-388 $template->param( Link Here
383
    listprice        => sprintf("%.2f", $data->{'listprice'}||$data->{'price'}||$listprice),
383
    listprice        => sprintf("%.2f", $data->{'listprice'}||$data->{'price'}||$listprice),
384
    total            => sprintf("%.2f", ($data->{'ecost'}||0)*($data->{'quantity'}||0) ),
384
    total            => sprintf("%.2f", ($data->{'ecost'}||0)*($data->{'quantity'}||0) ),
385
    ecost            => $data->{'ecost'},
385
    ecost            => $data->{'ecost'},
386
    unitprice        => sprintf("%.2f", $data->{'unitprice'}),
386
    notes            => $data->{'notes'},
387
    notes            => $data->{'notes'},
387
    publishercode    => $data->{'publishercode'},
388
    publishercode    => $data->{'publishercode'},
388
    
389
    
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-3 / +2 lines)
Lines 416-425 $(document).ready(function() Link Here
416
            <li>
416
            <li>
417
                [% IF ( close ) %]
417
                [% IF ( close ) %]
418
            <label for="cost">Actual cost: </label>
418
            <label for="cost">Actual cost: </label>
419
                <input type="text" id="cost" size="20" name="cost" value="[% ecost %]" readonly="readonly" />
419
                <input type="text" id="unitprice" size="20" name="unitprice" value="[% unitprice %]" readonly="readonly" />
420
                [% ELSE %]
420
                [% ELSE %]
421
                <label for="cost">Actual cost: </label>
421
                <label for="cost">Actual cost: </label>
422
                <input type="text" id="cost" size="20" name="cost" value="[% ecost %]" />
422
                <input type="text" id="unitprice" size="20" name="unitprice" value="[% unitprice %]" />
423
                [% END %]
423
                [% END %]
424
            </li>
424
            </li>
425
            <li>
425
            <li>
426
- 

Return to bug 6414