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

(-)a/admin/aqcontract.pl (-1 lines)
Lines 92-98 if ( $op eq 'add_form' ) { Link Here
92
#ADD_VALIDATE: called by add_form, used to insert/modify data in DB
92
#ADD_VALIDATE: called by add_form, used to insert/modify data in DB
93
elsif ( $op eq 'cud-add_validate' ) {
93
elsif ( $op eq 'cud-add_validate' ) {
94
## Please see file perltidy.ERR
94
## Please see file perltidy.ERR
95
    $template->param( add_validate => 1 );
96
95
97
    my $is_a_modif = $input->param("is_a_modif");
96
    my $is_a_modif = $input->param("is_a_modif");
98
97
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt (-17 / +1 lines)
Lines 15-23 Link Here
15
    [% IF ( else ) %]
15
    [% IF ( else ) %]
16
        [% tx("Contracts of {vendor}", { vendor = booksellername }) | html %]
16
        [% tx("Contracts of {vendor}", { vendor = booksellername }) | html %]
17
    [% END %]
17
    [% END %]
18
    [% IF ( add_validate ) %]
19
        [% t("Data recorded") | html %]
20
    [% END %]
21
    [% IF ( delete_confirm ) %]
18
    [% IF ( delete_confirm ) %]
22
        [% tx("Confirm deletion of contract '{contractnumber}'", { contractnumber = contractnumber }) | html %]
19
        [% tx("Confirm deletion of contract '{contractnumber}'", { contractnumber = contractnumber }) | html %]
23
    [% END %]
20
    [% END %]
Lines 68-79 Link Here
68
            [% END %]
65
            [% END %]
69
        [% END %]
66
        [% END %]
70
67
71
        [% IF ( add_validate ) %]
72
            [% WRAPPER breadcrumb_item bc_active=1 %]
73
                <span>Data recorded</span>
74
            [% END %]
75
        [% END %]
76
77
        [% IF ( delete_confirm ) %]
68
        [% IF ( delete_confirm ) %]
78
            [% WRAPPER breadcrumb_item bc_active=1 %]
69
            [% WRAPPER breadcrumb_item bc_active=1 %]
79
                <span>Confirm deletion of contract [% contractnumber | html %]</span>
70
                <span>Confirm deletion of contract [% contractnumber | html %]</span>
Lines 145-157 Link Here
145
                    </form>
136
                    </form>
146
                </div> <!-- /.page-section -->
137
                </div> <!-- /.page-section -->
147
            [% END %]
138
            [% END %]
148
            [% IF ( add_validate ) %]
139
149
                <h1>Data recorded</h1>
150
                <form action="[% script_name | html %]" method="post">
151
                    [% INCLUDE 'csrf-token.inc' %]
152
                    <input type="submit" class="btn btn-primary" value="OK" />
153
                </form>
154
            [% END %]
155
            [% IF ( delete_confirm ) %]
140
            [% IF ( delete_confirm ) %]
156
                    <div class="alert alert-warning">
141
                    <div class="alert alert-warning">
157
                        <h1>Confirm deletion of contract <em>[% contractname | html %]</em></h1>
142
                        <h1>Confirm deletion of contract <em>[% contractname | html %]</em></h1>
158
- 

Return to bug 37823