<mvc:View xmlns:rowmodes='sap.ui.table.rowmodes' xmlns:mvc='sap.ui.core.mvc' xmlns='sap.m' xmlns:core='sap.ui.core' xmlns:t='sap.ui.table' xmlns:l='sap.ui.layout' xmlns:f='sap.ui.layout.form' xmlns:mc='sap.mcsuite.controls' xmlns:dnd='sap.ui.core.dnd' controllerName='sap.mcsuite.modules.alerts.tasks.alerts_mod.controller.Task' xmlns:utils='sap.mcsuite.model.utils' xmlns:cssgrid='sap.ui.layout.cssgrid' xmlns:tcm='sap.m.table.columnmenu' core:require="{
    format: 'sap/mcsuite/model/Format', 
    translate: 'sap/mcsuite/model/Translate', 
    utils: 'sap/mcsuite/model/Utils'
  }" >
<cssgrid:CSSGrid id='header' class='header-container' width='100%' gridTemplateColumns='1fr 1fr 1fr'>
<HBox id='breadcrumb' class='breadcrumb-container' alignItems='Start' justifyContent='Start'>
  <Breadcrumbs class='breadcrumb' separatorStyle='Slash' currentLocationText='{parts: [{value:"BREADCRUMB"}, {value:"6951"}, {value:"Modify"}], formatter: "translate.Label.get"}'>
    <Link id='homeLink' press='goHome' text='Home' icon='sap-icon://home'/>
    <Link id='moduleLink' press='taskNav' text='{parts: [{value:"FOLDER"}, {value:"ALERTS"}, {value:""}], formatter: "translate.Label.get"}'>
      <customData>
        <core:CustomData key='module' value='alerts'/>
        <core:CustomData key='task' value='index'/>
      </customData>
    </Link>
    </Breadcrumbs>
    </HBox>
<HBox id='title' class='title-container' alignItems='Center' justifyContent='Center'>
    <Title text='{query>/name}'  level='H1'/>
</HBox>
<HBox id='quicksearch' class='quicksearch-container' alignItems='Center' justifyContent='Center'>
</HBox>
  </cssgrid:CSSGrid>
<VBox id='content' class='content-container' alignItems='Start' justifyContent='Start' width='100%' wrap='Wrap'>
  <HBox class='options hidden-if-empty' width='100%'>
  </HBox>
  <HBox class='aside-main-container' width='100%'>
  <VBox class='aside hidden-if-empty'>
  </VBox>
  <VBox class='main'>
		<VBox class='mc-show mc-form' backgroundDesign='Solid' alignContent='SpaceAround' id='subtaskAlertsMod' >
      <customData>
        <core:CustomData key='_object' value='{_object}' />
      </customData>
      <Title text='{parts: [{value:"SUBTITLE"}, {value:"alerts_mod"}, {value:"Modify"}], formatter: "translate.Label.get"}' level='H2'/>
      <IconTabBar expandable='false' class='mc-form-tabbar' id='subtaskAlertsMod-iconTabBar'>
        <items>
          <IconTabFilter text='{parts: [{value:"TAB"}, {value:"alerts_mod_general"}, {value:"General Information"}], formatter: "translate.Label.get"}'>
            <f:Form editable='true'>
              <f:layout>
                <f:ResponsiveGridLayout
                  labelSpanXL='2'
                  labelSpanL='2'
                  labelSpanM='2'
                  labelSpanS='2'
                  adjustLabelSpan='true'
                  emptySpanXL='0'
                  emptySpanL='4'
                  emptySpanM='0'
                  emptySpanS='0'
                  columnsXL='1'
                  columnsL='1'
                  columnsM='1'
                  singleContainerFullSize='true'
                />
              </f:layout>
              <f:formContainers>
                <f:FormContainer
                  title="Rundrufgruppe" 
                  titleLevel="H5"
                >
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free4"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <Input 
                        id="fieldFree4"
                        value="{path: 'field_free4'}" 
                        type="Number" 
                        class='mc-add-input'
                      >
                         <customData>
                             <core:CustomData key='mandatory' value='true'/>
                             <core:CustomData key='unique' value='true'/>
                         </customData>
                      </Input>
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"name"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <Input class='mc-add-input' required='true' value="{path: 'name'}">
                      	<customData>
                           <core:CustomData key='mandatory' value='true'/>
                       </customData>
                      </Input>
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"status"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <Input required='true' showValueHelp='true' selectedKey="{path: 'status', targetType: 'string', type: 'sap.ui.model.type.Integer', formatOptions: { groupingEnabled: false }}" suggestionItems="{path: '/crm_alerts_st'}" valueHelpRequest='onValueHelpRequest' class='mc-add-select' editable='true' valueHelpIconSrc='sap-icon://fa-solid/chevron-down'>
                        <customData>
                          <core:CustomData key='table' value='crm_alerts_st'/>
                          <core:CustomData key='mandatory' value='true'/>
                          <core:CustomData key='filter' value='id lt 90'/>
                        </customData>
                        <core:Item key="{path: 'id', type: 'sap.ui.model.type.Integer', formatOptions: { groupingEnabled: false }}" text='{name}'/>
                      </Input>
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free8"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <CheckBox selected="{path: 'field_free8'}" />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free11"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <CheckBox selected="{path: 'field_free11'}" />
                    </f:fields>
                  </f:FormElement>
								</f:FormContainer>
              </f:formContainers>
            </f:Form>
          </IconTabFilter>
          <IconTabFilter text='{parts: [{value:"LABEL"}, {value:"Prozess"}, {value:"Prozess"}], formatter: "translate.Label.get"}'>
            <f:Form editable='true'>
              <f:layout>
                <f:ResponsiveGridLayout
                  labelSpanXL='2'
                  labelSpanL='2'
                  labelSpanM='2'
                  labelSpanS='2'
                  adjustLabelSpan='true'
                  emptySpanXL='0'
                  emptySpanL='4'
                  emptySpanM='0'
                  emptySpanS='0'
                  columnsXL='1'
                  columnsL='1'
                  columnsM='1'
                  singleContainerFullSize='true'
                />
              </f:layout>
              <f:formContainers>
                  <f:FormContainer
                    title="Quittierung" 
                    titleLevel="H5"
                  >
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free13"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <Input 
                        id="fieldFree13"
                      	value="{path: 'field_free13'}" 
                        type="Number" 
                        placeholder="in sek."
                        class='mc-add-input'
                      />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_negative_confirmation"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox 
                      	id="negativeConfirmationSelect"
                      	selected="{path: 'object>/properties_negative_confirmation'}"
                      />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_wrong_person"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox 
                      	id="wrongPersonSelect"
                      	selected="{path: 'object>/properties_wrong_person'}" 
                      />
                    </f:fields>
                  </f:FormElement>
									</f:FormContainer>

									<f:FormContainer
                    title="Anwahlzyklen" 
                    titleLevel="H5"
                  >
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_priority_processing"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox selected="{path: 'object>/properties_priority_processing'}" />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free1"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <Input 
                        id="fieldFree1"
                        class='mc-add-input' 
                        value="{path: 'field_free1'}" 
                        type="Number" />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free2"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <Input class='mc-add-input' value="{path: 'field_free2'}" type="Number" />
                    </f:fields>
                  </f:FormElement>
                  </f:FormContainer>

									<f:FormContainer
                    title="Teilnehmeranwahl" 
                    titleLevel="H5"
                  >
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free3"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <Input 
                        id="fieldFree3"
                        value="{path: 'field_free3'}" 
                        type="Number" 
                        class='mc-add-input'
                      />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_end_parallel_dialing"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox 
                        id="endParallelDialingSelect"
                        selected="{path: 'object>/properties_end_parallel_dialing'}" 
                      />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_end_after_confirmation"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox 
                        id="endAfterConfirmationSelect"
                        selected="{path: 'object>/properties_end_after_confirmation'}" 
                      />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_thru_connect"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox 
                        id="thruConnectSelect"
                        selected="{path: 'object>/properties_thru_connect'}" 
                      />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free10"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <Input 
                      	id="fieldFree10"
                      	value="{path: 'field_free10'}" 
                        type="Number"
                        placeholder="in min."
                        class='mc-add-input'
                      />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_thru_key5"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox 
                        id="thruKey5Select"
                        selected="{path: 'object>/properties_thru_key5'}" 
                      />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free9"}], formatter: "translate.Field.get"}'>
										<f:fields>
                      <Input id="fieldFree9" showValueHelp='true' selectedKey="{path: 'field_free9', targetType: 'string', formatOptions: { groupingEnabled: false }}"  suggestionItems="{path: '/crm_alerts_bs'}" valueHelpRequest='onValueHelpRequest' class='mc-add-select' editable='true' valueHelpIconSrc='sap-icon://fa-solid/chevron-down'>
                        <customData>
                          <core:CustomData key='table' value='crm_alerts_bs'/>
													<core:CustomData key='fields' value='field_free4, name'/>
                          <core:CustomData key='filter' value='status lt 90'/>
                          <core:CustomData key='orderby' value='field_free4, name'/>
                        </customData>
                        <core:Item key="{path: 'id', type: 'sap.ui.model.type.Integer', formatOptions: { groupingEnabled: false }}" text='{name}'/>
                      </Input>
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free14"}], formatter: "translate.Field.get"}'>
										<f:fields>
                    	<Input id="fieldFree14" showValueHelp='true' selectedKey="{path: 'field_free14', targetType: 'string', formatOptions: { groupingEnabled: false }}" suggestionItems="{path: '/crm_alerts_bs'}" valueHelpRequest='onValueHelpRequest' class='mc-add-select' editable='true' valueHelpIconSrc='sap-icon://fa-solid/chevron-down'>
                        <customData>
                          <core:CustomData key='table' value='crm_alerts_bs'/>
                          <core:CustomData key='fields' value='field_free4, name'/>
                          <core:CustomData key='filter' value='status lt 90'/>
                          <core:CustomData key='orderby' value='field_free4, name'/>
                        </customData>
                        <core:Item key="{path: 'id', type: 'sap.ui.model.type.Integer', formatOptions: { groupingEnabled: false }}" text='{name}'/>
                      </Input>
                    </f:fields>
                  </f:FormElement>
									</f:FormContainer>
              </f:formContainers>
            </f:Form>
          </IconTabFilter>
          <IconTabFilter text='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-Properties"}, {value:"Properties"}], formatter: "translate.Label.get"}'>
            <f:Form editable='true'>
              <f:layout>
                <f:ResponsiveGridLayout
                  labelSpanXL='2'
                  labelSpanL='2'
                  labelSpanM='2'
                  labelSpanS='2'
                  adjustLabelSpan='true'
                  emptySpanXL='0'
                  emptySpanL='4'
                  emptySpanM='0'
                  emptySpanS='0'
                  columnsXL='1'
                  columnsL='1'
                  columnsM='1'
                  singleContainerFullSize='true'
                />
              </f:layout>
              <f:formContainers>
                <f:FormContainer
                    title="Hochpriore Leistungsmerkmale" 
                    titleLevel="H5"
                 >
                	<f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_high_priority"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox  
                        id="highPrioritySelect"
                        selected="{path: 'object>/properties_high_priority'}" 
                      />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_restart_after_abort"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox 
                        id="restartAfterAbortSelect"
                        selected="{path: 'object>/properties_restart_after_abort'}" 
                      />
                    </f:fields>
                  </f:FormElement>
                  </f:FormContainer>

                  <f:FormContainer
                    title="Cornet-N(Q)(R) spezifische Leistungsmerkmale" 
                    titleLevel="H5"
                  >
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_cornet"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox selected="{path: 'object>/properties_cornet'}" />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_subscriber_status"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox selected="{path: 'object>/properties_subscriber_status'}" />
                    </f:fields>
                  </f:FormElement>
                  </f:FormContainer>

									<f:FormContainer
                    title="Weitere Leistungsmerkmale" 
                    titleLevel="H5"
                  >
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_continue_after_hangup"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox 
                        id="continueAfterHangupSelect"
                        selected="{path: 'object>/properties_continue_after_hangup'}" 
                      />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_disconnect_initiator"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox 
                        id="disconnectInitiatorSelect"
                        selected="{path: 'object>/properties_disconnect_initiator'}" 
                      />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_multi_launch"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox selected="{path: 'object>/properties_multi_launch'}" />
                    </f:fields>
                  </f:FormElement>
                  </f:FormContainer>
              </f:formContainers>
            </f:Form>
          </IconTabFilter>
          <IconTabFilter text='{parts: [{value:"LABEL"}, {value:"Ansagen"}, {value:"Ansagen"}], formatter: "translate.Label.get"}'>
            <f:Form editable='true'>
              <f:layout>
                <f:ResponsiveGridLayout
                  labelSpanXL='2'
                  labelSpanL='2'
                  labelSpanM='2'
                  labelSpanS='2'
                  adjustLabelSpan='true'
                  emptySpanXL='0'
                  emptySpanL='4'
                  emptySpanM='0'
                  emptySpanS='0'
                  columnsXL='1'
                  columnsL='1'
                  columnsM='1'
                  singleContainerFullSize='true'
                />
              </f:layout>
              <f:formContainers>
                  <f:FormContainer>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free5"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <Input showValueHelp='true' selectedKey="{path: 'field_free5', targetType: 'string', formatOptions: { groupingEnabled: false }}" suggestionItems="{path: '/daks_announcements_aux'}" valueHelpRequest='onValueHelpRequest' class='mc-add-select' editable='true' valueHelpIconSrc='sap-icon://fa-solid/chevron-down'>
                        <customData>
                          <core:CustomData key='table' value='daks_announcements_aux'/>
                          <core:CustomData key='fields' value='code, name'/>
                        </customData>
                        <core:Item key="{path: 'id', type: 'sap.ui.model.type.Integer', formatOptions: { groupingEnabled: false }}" text='{name}'/>
                      </Input>
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free12"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <Input showValueHelp='true' selectedKey="{path: 'field_free12', targetType: 'string', formatOptions: { groupingEnabled: false }}" suggestionItems="{path: '/daks_announcements_aux'}" valueHelpRequest='onValueHelpRequest' class='mc-add-select' editable='true' valueHelpIconSrc='sap-icon://fa-solid/chevron-down'>
                        <customData>
                          <core:CustomData key='table' value='daks_announcements_aux'/>
                          <core:CustomData key='fields' value='code, name'/>
                        </customData>
                        <core:Item key="{path: 'id', type: 'sap.ui.model.type.Integer', formatOptions: { groupingEnabled: false }}" text='{name}'/>
                      </Input>
                    </f:fields>
                  </f:FormElement>
             			</f:FormContainer>
             </f:formContainers>
            </f:Form>
          </IconTabFilter>
          <IconTabFilter text='{parts: [{value:"LABEL"}, {value:"Protokollierung"}, {value:"Protokollierung"}], formatter: "translate.Label.get"}'>
            <f:Form editable='true'>
              <f:layout>
                <f:ResponsiveGridLayout
                  labelSpanXL='2'
                  labelSpanL='2'
                  labelSpanM='2'
                  labelSpanS='2'
                  adjustLabelSpan='true'
                  emptySpanXL='0'
                  emptySpanL='4'
                  emptySpanM='0'
                  emptySpanS='0'
                  columnsXL='1'
                  columnsL='1'
                  columnsM='1'
                  singleContainerFullSize='true'
                />
              </f:layout>
              <f:formContainers>
              	<f:FormContainer>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_no_printer_logging"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox selected="{path: 'object>/properties_no_printer_logging'}" />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_no_daks"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox selected="{path: 'object>/properties_no_daks'}" />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"LABEL"}, {value:"ALERTSENTRIESHINWEIS-properties_reject_disconnect"}], formatter: "translate.Label.get"}'>
                    <f:fields>
                      <CheckBox selected="{path: 'object>/properties_reject_disconnect'}" />
                    </f:fields>
                  </f:FormElement>
                  <f:FormElement label='{parts: [{value:"crm_alerts_bs"}, {value:"field_free6"}], formatter: "translate.Field.get"}'>
                    <f:fields>
                      <Input class='mc-add-input' value="{path: 'field_free6'}" type="Email" />
                    </f:fields>
                  </f:FormElement>
                </f:FormContainer>
              </f:formContainers>
            </f:Form>
          </IconTabFilter>
        </items>
      </IconTabBar>
      <HBox width='100%' alignItems='Center' justifyContent='Center'>
        <Button text='{parts: [{value:"BUTTON"}, {value:"alerts_mod_save"}, {value:"Save"}], formatter: "translate.Label.get"}' id='subtaskAlertsMod-submitButton'>
          <customData>
            <core:CustomData key='module' value='alerts'/>
            <core:CustomData key='task' value='alerts_show'/>
            <core:CustomData key='field' value='id'/>
            <core:CustomData key='value' value='{id}'/>
          </customData>
        </Button>
      </HBox>
    </VBox>
  </VBox>
  </HBox>
</VBox>
</mvc:View>