Merge branch 'WarehouseShippingNote/fix-calendar-entries' into 'master'
Add SNOPP type to available shipping note types See merge request fronk/thetool!1832
This commit is contained in:
@@ -26,6 +26,7 @@ Vue.component('warehouse-shipping-note-modal', {
|
|||||||
availableTypes: [
|
availableTypes: [
|
||||||
{text: 'Xinon Intern (XI)', value: 'XI'},
|
{text: 'Xinon Intern (XI)', value: 'XI'},
|
||||||
{text: 'Xinon Hersteller (XH)', value: 'XH'},
|
{text: 'Xinon Hersteller (XH)', value: 'XH'},
|
||||||
|
{text: 'SNOPP' , value: 'SNOPP'},
|
||||||
{text: 'Energie Steiermark (ESTMK)', value: 'ESTMK'},
|
{text: 'Energie Steiermark (ESTMK)', value: 'ESTMK'},
|
||||||
{text: 'Steirische Breitband- und Digitalinfrastrukturgesellschaft (SBIDI)', value: 'SBIDI'},
|
{text: 'Steirische Breitband- und Digitalinfrastrukturgesellschaft (SBIDI)', value: 'SBIDI'},
|
||||||
{text: 'Verrechnen (V)', value: 'V'},
|
{text: 'Verrechnen (V)', value: 'V'},
|
||||||
@@ -206,7 +207,8 @@ Vue.component('warehouse-shipping-note-modal', {
|
|||||||
|
|
||||||
if (window.TT_CONFIG['WAREHOUSE_ADMIN'] == true && this.shippingNote.metadata && this.shippingNote.metadata.event_type_id) {
|
if (window.TT_CONFIG['WAREHOUSE_ADMIN'] == true && this.shippingNote.metadata && this.shippingNote.metadata.event_type_id) {
|
||||||
const typeMap = {
|
const typeMap = {
|
||||||
2: 'XI',
|
2: 'XH',
|
||||||
|
4: 'SNOPP',
|
||||||
3: 'ESTMK',
|
3: 'ESTMK',
|
||||||
7: 'SBIDI'
|
7: 'SBIDI'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user