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

(-)a/Koha/Item.pm (-1 / +1 lines)
Lines 1588-1594 sub add_to_bundle { Link Here
1588
    }
1588
    }
1589
    catch {
1589
    catch {
1590
1590
1591
        # FIXME: See if we can move the below copy/paste from Koha::Object::store into it's own class and catch at a lower level in the Schema instantiation.. take inspiration fro DBIx::Error
1591
        # FIXME: See if we can move the below copy/paste from Koha::Object::store into it's own class and catch at a lower level in the Schema instantiation, take inspiration from DBIx::Error
1592
        if ( ref($_) eq 'DBIx::Class::Exception' ) {
1592
        if ( ref($_) eq 'DBIx::Class::Exception' ) {
1593
            warn $_->{msg};
1593
            warn $_->{msg};
1594
            if ( $_->{msg} =~ /Cannot add or update a child row: a foreign key constraint fails/ ) {
1594
            if ( $_->{msg} =~ /Cannot add or update a child row: a foreign key constraint fails/ ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +1 lines)
Lines 1607-1613 Note that permanent location is a code, and location may be an authval. Link Here
1607
1607
1608
        [% IF bundlesEnabled %]
1608
        [% IF bundlesEnabled %]
1609
        var bundle_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail','bundle_tables','json') | $raw %];
1609
        var bundle_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail','bundle_tables','json') | $raw %];
1610
        var bundle_lost_value = [% Koha.Preference('BundleLostValue') %];
1610
        var bundle_lost_value = [% Koha.Preference('BundleLostValue') | html %];
1611
        [% END %]
1611
        [% END %]
1612
        $(document).ready(function() {
1612
        $(document).ready(function() {
1613
1613
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-4 / +3 lines)
Lines 384-391 Link Here
384
384
385
                            [% IF bundle_items && !missing_items %]
385
                            [% IF bundle_items && !missing_items %]
386
                                <div class="dialog message">
386
                                <div class="dialog message">
387
                                    <h3>Bundle varified</h3>
387
                                    <h3>Bundle verified</h3>
388
                                    <p>The bundle content was varified</p>
388
                                    <p>The bundle content was verified</p>
389
                                    <p><a class="btn btn-default btn-xs" role="button" data-toggle="modal" href="#bundleContentsModal"><i class="fa fa-eye" aria-hidden="true"></i> View contents list</a></p>
389
                                    <p><a class="btn btn-default btn-xs" role="button" data-toggle="modal" href="#bundleContentsModal"><i class="fa fa-eye" aria-hidden="true"></i> View contents list</a></p>
390
                                </div>
390
                                </div>
391
                            [% END %]
391
                            [% END %]
Lines 1558-1564 Link Here
1558
                        });
1558
                        });
1559
                    } else {
1559
                    } else {
1560
                        feedback.fadeOut(100, function(){
1560
                        feedback.fadeOut(100, function(){
1561
                            string = _("Varified: ")+last;
1561
                            string = _("Verified: ")+last;
1562
                            feedback.addClass('alert-success').removeClass('alert-danger').html(string).fadeIn(100);
1562
                            feedback.addClass('alert-success').removeClass('alert-danger').html(string).fadeIn(100);
1563
                        });
1563
                        });
1564
                    }
1564
                    }
1565
- 

Return to bug 28854