Bug 38010: (QA follow-up) Rebase acquisitions amd vendor menus
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
54070647d5
commit
1a4eda23f6
|
|
@ -48,7 +48,8 @@ $template->param(
|
|||
user_permissions => $user_permissions,
|
||||
currencies => Koha::Acquisition::Currencies->search->unblessed,
|
||||
gst_values => \@gst_values,
|
||||
edifact => C4::Context->preference('EDIFACT')
|
||||
edifact => C4::Context->preference('EDIFACT'),
|
||||
marc_orders => C4::Context->preference('MarcOrderingAutomation'),
|
||||
);
|
||||
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
const currencies = [% To.json(currencies) | $raw %];
|
||||
const gstValues = [% To.json(gst_values) | $raw %];
|
||||
const edifact = [% To.json(edifact) | $raw %];
|
||||
const marcOrderAutomation = [% To.json(marc_orders) | $raw %];
|
||||
</script>
|
||||
[% Asset.js("js/vue/dist/acquisitions.js") | $raw %]
|
||||
[% INCLUDE 'select2.inc' %]
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ export default {
|
|||
this.loaded();
|
||||
this.userPermissions = userPermissions;
|
||||
this.config.settings.edifact = edifact;
|
||||
this.config.settings.marcOrderAutomation = marcOrderAutomation;
|
||||
this.vendorStore.currencies = currencies;
|
||||
this.vendorStore.gstValues = gstValues.map(gv => {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in New Issue