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

(-)a/acqui/basketgroup.pl (+4 lines)
Lines 232-237 my $op = $input->param('op') || 'display'; Link Here
232
# - display : display the list of all basketgroups for a vendor
232
# - display : display the list of all basketgroups for a vendor
233
my $booksellerid = $input->param('booksellerid');
233
my $booksellerid = $input->param('booksellerid');
234
$template->param(booksellerid => $booksellerid);
234
$template->param(booksellerid => $booksellerid);
235
my $schema = Koha::Database->new()->schema();
236
my $rs = $schema->resultset('VendorEdiAccount')->search(
237
    { vendor_id => $booksellerid, } );
238
$template->param( ediaccount => ($rs->count > 0));
235
239
236
if ( $op eq "add" ) {
240
if ( $op eq "add" ) {
237
#
241
#
(-)a/installer/data/mysql/atomicupdate/addedifactsyspref.sql (+2 lines)
Line 0 Link Here
1
INSERT IGNORE INTO systempreferences VALUES( 'Edifact', '0', 'Enable Edifact Electronic Ordering', 'Enables use of Edifact electronic ordering', 'YesNo');
2
(-)a/installer/data/mysql/sysprefs.sql (+2 lines)
Lines 132-137 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
132
('DumpTemplateVarsIntranet',  '0', NULL ,  'If enabled, dump all Template Toolkit variable to a comment in the html source for the staff intranet.',  'YesNo'),
132
('DumpTemplateVarsIntranet',  '0', NULL ,  'If enabled, dump all Template Toolkit variable to a comment in the html source for the staff intranet.',  'YesNo'),
133
('DumpTemplateVarsOpac',  '0', NULL ,  'If enabled, dump all Template Toolkit variable to a comment in the html source for the opac.',  'YesNo'),
133
('DumpTemplateVarsOpac',  '0', NULL ,  'If enabled, dump all Template Toolkit variable to a comment in the html source for the opac.',  'YesNo'),
134
('EasyAnalyticalRecords','0','','If on, display in the catalogue screens tools to easily setup analytical record relationships','YesNo'),
134
('EasyAnalyticalRecords','0','','If on, display in the catalogue screens tools to easily setup analytical record relationships','YesNo'),
135
('Edifact','0','Enable Edifact Electronic Ordering','Enables use of Edifact electronic ordering','YesNo'),
136
135
('EDIInvoicesShippingBudget',NULL,NULL,'The budget code used to allocate shipping charges to when processing EDI Invoice messages','free'),
137
('EDIInvoicesShippingBudget',NULL,NULL,'The budget code used to allocate shipping charges to when processing EDI Invoice messages','free'),
136
('emailLibrarianWhenHoldIsPlaced','0',NULL,'If ON, emails the librarian whenever a hold is placed','YesNo'),
138
('emailLibrarianWhenHoldIsPlaced','0',NULL,'If ON, emails the librarian whenever a hold is placed','YesNo'),
137
('EnableAdvancedCatalogingEditor','0','','Enable the Rancor advanced cataloging editor','YesNo'),
139
('EnableAdvancedCatalogingEditor','0','','Enable the Rancor advanced cataloging editor','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc (+2 lines)
Lines 9-15 Link Here
9
    [% IF ( CAN_user_parameters ) %]
9
    [% IF ( CAN_user_parameters ) %]
10
     <li><a href="/cgi-bin/koha/admin/currency.pl">Currencies</a></li>
10
     <li><a href="/cgi-bin/koha/admin/currency.pl">Currencies</a></li>
11
    [% END %]
11
    [% END %]
12
    [% IF Koha.Preference("Edifact") %]
12
    [% IF CAN_user_acquisition_edi_manage %]
13
    [% IF CAN_user_acquisition_edi_manage %]
13
     <li><a href="/cgi-bin/koha/acqui/edifactmsgs.pl">Edifact Messages</a></li>
14
     <li><a href="/cgi-bin/koha/acqui/edifactmsgs.pl">Edifact Messages</a></li>
14
    [% END %]
15
    [% END %]
16
    [% END %]
15
</ul>
17
</ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt (+2 lines)
Lines 144-150 function submitForm(form) { Link Here
144
                            <div class="btn-group"><a href="[% script_name %]?op=reopen&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]&amp;mode=singlebg" class="btn btn-small" id="reopenbutton"><i class="fa fa-download"></i> Reopen this basket group</a></div>
144
                            <div class="btn-group"><a href="[% script_name %]?op=reopen&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]&amp;mode=singlebg" class="btn btn-small" id="reopenbutton"><i class="fa fa-download"></i> Reopen this basket group</a></div>
145
                            <div class="btn-group"><a href="[% script_name %]?op=export&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="exportbutton"><i class="fa fa-download"></i> Export this basket group as CSV</a></div>
145
                            <div class="btn-group"><a href="[% script_name %]?op=export&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="exportbutton"><i class="fa fa-download"></i> Export this basket group as CSV</a></div>
146
                            <div class="btn-group"><a href="[% script_name %]?op=print&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="printbutton"><i class="fa fa-download"></i> Print this basket group in PDF</a></div>
146
                            <div class="btn-group"><a href="[% script_name %]?op=print&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="printbutton"><i class="fa fa-download"></i> Print this basket group in PDF</a></div>
147
                            [% IF ediaccount %]
147
                            <div class="btn-group"><a href="[% script_name %]?op=ediprint&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="printbutton"><i class="fa fa-download"></i> Generate edifact order</a></div>
148
                            <div class="btn-group"><a href="[% script_name %]?op=ediprint&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="printbutton"><i class="fa fa-download"></i> Generate edifact order</a></div>
149
                            [% END %]
148
                        </div>
150
                        </div>
149
                    [% END %]
151
                    [% END %]
150
                    [% IF (name && closedbg) %]
152
                    [% IF (name && closedbg) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt (+2 lines)
Lines 98-107 Link Here
98
                        <dt><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></dt>
98
                        <dt><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></dt>
99
                        <dd>Define funds within your budgets</dd>
99
                        <dd>Define funds within your budgets</dd>
100
100
101
                  [% IF Koha.Preference("Edifact") %]
101
                        <dt><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></dt>
102
                        <dt><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></dt>
102
                        <dd>Manage vendor EDI accounts for import/export</dd>
103
                        <dd>Manage vendor EDI accounts for import/export</dd>
103
                        <dt><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></dt>
104
                        <dt><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></dt>
104
                        <dd>Manage library EDI EANs</dd>
105
                        <dd>Manage library EDI EANs</dd>
106
                  [% END %]
105
                </dl>
107
                </dl>
106
108
107
                <h3>Additional parameters</h3>
109
                <h3>Additional parameters</h3>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref (-1 / +7 lines)
Lines 67-72 Acquisitions: Link Here
67
                yes: Send
67
                yes: Send
68
                no: Don't send
68
                no: Don't send
69
            - blind copy (BCC) to logged in user when sending serial or acquisitions claims notices.
69
            - blind copy (BCC) to logged in user when sending serial or acquisitions claims notices.
70
        -
71
            - pref: Edifact
72
              default: no
73
              choices:
74
                yes: Enable
75
                no:  Disable
76
            - Enable electronic ordering using EDIFACT format messages
70
77
71
    Printing:
78
    Printing:
72
        -
79
        -
73
- 

Return to bug 16258