<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.rosters.tasks.rosters_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:"6955"}, {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:"ROSTERS"}, {value:""}], formatter: "translate.Label.get"}'>
      <customData>
        <core:CustomData key='module' value='rosters'/>
        <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='subtask26529' >
		<customData> 
       <core:CustomData key='_object' value='{_object}' /> 
		</customData> 
    <Title text='{parts: [{value:"SUBTITLE"}, {value:"26529"}, {value:"Modify"}], formatter: "translate.Label.get"}' level='H2'/>
    <IconTabBar expandable='false' class='mc-form-tabbar' id='subtask26529-iconTabBar'>
    <items>
      <IconTabFilter text='{parts: [{value:"TAB"}, {value:"57447"}, {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>
      <f:FormElement label='{parts: [{value:"gpv_rosters_bs"}, {value:"name"}], formatter: "translate.Field.get"}'>
      <f:fields>
      <Input id='mc_name_field'  required='true'  class='mc-add-input'  value="{path: 'name'}" >
          <customData>
             <core:CustomData key='mandatory' value='true'/>
       </customData>
      </Input>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"gpv_rosters_bs"}, {value:"status"}], formatter: "translate.Field.get"}'>
      <f:fields>
      <Input id='mc_status_field'  required='true'  showValueHelp='true' 
        selectedKey="{path: 'status', targetType: 'string', formatOptions: { groupingEnabled: false }}" 
        suggestionItems="{path: '/gpv_rosters_st'}" 
        valueHelpRequest='onValueHelpRequest' 
        class='mc-add-select' 
        editable='true' 
        valueHelpIconSrc='sap-icon://fa-solid/chevron-down' 
      > 
       <customData>
         <core:CustomData key='mandatory' value='true'/>
         <core:CustomData key='table' value='gpv_rosters_st'/>
         <core:CustomData key='title' value='{parts: [{value:"gpv_rosters_bs"}, {value:"status"}], formatter: "translate.Field.get"}'/>
         <core:CustomData key='orderby' value='name'/>
         <core:CustomData key='filter' value="id lt 90"/>
        </customData>
        <core:Item key="{path: 'id', formatOptions: { groupingEnabled: false }}" text='{name}'/>
      </Input>
      </f:fields>
      </f:FormElement>
      <f:FormElement 
      	visible="{= !!(%{_cat_id/type} === 'ROTATION')}"
      	label='{parts: [{value:"gpv_rosters_bs"}, {value:"field_free1"}], formatter: "translate.Field.get"}'
       >
      <f:fields>
      <Input 
      	visible="{= !!(%{_cat_id/type} === 'ROTATION')}"
      	id='mc_field_free1_field'  
        required='true'  
        showValueHelp='true' 
        value="{field_free1}" 
        valueHelpRequest='onValueHelpRequest' 
        class='mc-add-select' 
        editable='true' 
        valueHelpIconSrc='sap-icon://fa-solid/chevron-down' 
      > 
       <customData>
         <core:CustomData key='mandatory' value='true'/>
         <core:CustomData key='table' value=''/>
         <core:CustomData key='title' value='{parts: [{value:"gpv_rosters_bs"}, {value:"field_free1"}], formatter: "translate.Field.get"}'/>
       	<core:CustomData key='type' value='static'/> 
        </customData>
       <suggestionItems> 
         <core:Item key='1' text='1' /> 
         <core:Item key='2' text='2' /> 
         <core:Item key='3' text='3' /> 
         <core:Item key='4' text='4' /> 
         <core:Item key='5' text='5' /> 
         <core:Item key='6' text='6' /> 
         <core:Item key='7' text='7' /> 
         <core:Item key='8' text='8' /> 
         <core:Item key='9' text='9' /> 
         <core:Item key='10' text='10' /> 
         <core:Item key='11' text='11' /> 
         <core:Item key='12' text='12' /> 
         <core:Item key='13' text='13' /> 
         <core:Item key='14' text='14' /> 
         <core:Item key='15' text='15' /> 
         <core:Item key='16' text='16' /> 
         <core:Item key='17' text='17' /> 
         <core:Item key='18' text='18' /> 
         <core:Item key='19' text='19' /> 
         <core:Item key='20' text='20' /> 
         <core:Item key='21' text='21' /> 
         <core:Item key='22' text='22' /> 
         <core:Item key='23' text='23' /> 
         <core:Item key='24' text='24' /> 
         <core:Item key='25' text='25' /> 
         <core:Item key='26' text='26' /> 
         <core:Item key='27' text='27' /> 
         <core:Item key='28' text='28' /> 
         <core:Item key='29' text='29' /> 
         <core:Item key='30' text='30' /> 
         <core:Item key='31' text='31' /> 
         <core:Item key='32' text='32' /> 
         <core:Item key='33' text='33' /> 
         <core:Item key='34' text='34' /> 
         <core:Item key='35' text='35' /> 
         <core:Item key='36' text='36' /> 
         <core:Item key='37' text='37' /> 
         <core:Item key='38' text='38' /> 
         <core:Item key='39' text='39' /> 
         <core:Item key='40' text='40' /> 
         <core:Item key='41' text='41' /> 
         <core:Item key='42' text='42' /> 
         <core:Item key='43' text='43' /> 
         <core:Item key='44' text='44' /> 
         <core:Item key='45' text='45' /> 
         <core:Item key='46' text='46' /> 
         <core:Item key='47' text='47' /> 
         <core:Item key='48' text='48' /> 
         <core:Item key='49' text='49' /> 
         <core:Item key='50' text='50' /> 
         <core:Item key='51' text='51' /> 
         <core:Item key='52' text='52' /> 
         <core:Item key='53' text='53' /> 
         <core:Item key='54' text='54' /> 
         <core:Item key='55' text='55' /> 
         <core:Item key='56' text='56' /> 
         <core:Item key='57' text='57' /> 
         <core:Item key='58' text='58' /> 
         <core:Item key='59' text='59' /> 
         <core:Item key='60' text='60' /> 
       </suggestionItems> 
      </Input>
      </f:fields>
      </f:FormElement>
      <f:FormElement
      	visible="{= !!(%{_cat_id/type} === 'ROTATION')}"
      	label='{parts: [{value:"gpv_rosters_bs"}, {value:"time_start"}], formatter: "translate.Field.get"}'
       >
      <f:fields>
      <DateTimePicker 
      	 visible="{= !!(%{_cat_id/type} === 'ROTATION')}"
      	 id='mc_time_start_field' class='mc-add-input' 
      	 required='true'  
      	 value="{path: 'time_start', targetType: 'string', type: 'format.Time'}" 
      	 valueFormat="yyyy-MM-dd'T'HH:mm:ss" 
      	 displayFormat='dd/MM/yyyy HH:mm' 
      >
      	<customData>
      	   <core:CustomData key='mandatory' value='true'/>
       </customData>
      </DateTimePicker>
      </f:fields>
      </f:FormElement>
      <f:FormElement 
      	visible="{= !!(%{_cat_id/type} === 'ROTATION')}"
      	label='{parts: [{value:"gpv_rosters_bs"}, {value:"time_end"}], formatter: "translate.Field.get"}'
      >
      <f:fields>
      <DateTimePicker 
         visible="{= !!(%{_cat_id/type} === 'ROTATION')}"
      	 id='mc_time_end_field' class='mc-add-input' 
      	 value="{path: 'time_end', targetType: 'string', type: 'format.Time'}" 
      	 valueFormat="yyyy-MM-dd'T'HH:mm:ss" 
      	 displayFormat='dd/MM/yyyy HH:mm' 
      >
      	<customData>
      	   <core:CustomData key='mandatory' value='false'/>
       </customData>
      </DateTimePicker>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"gpv_rosters_bs"}, {value:"email"}], formatter: "translate.Field.get"}'>
      <f:fields>
      <Input id='mc_email_field'  class='mc-add-input'  value="{path: 'email', type: 'format.Email'}" >
          <customData>
             <core:CustomData key='mandatory' value='false'/>
       </customData>
      </Input>
      </f:fields>
      </f:FormElement>
      </f:FormContainer>
      </f:formContainers>
      </f:Form>
      </IconTabFilter>
      <IconTabFilter text='{parts: [{value:"TAB"}, {value:"57464"}, {value:"Other 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>
      <f:FormElement label='{parts: [{value:"gpv_rosters_bs"}, {value:"comment"}], formatter: "translate.Field.get"}'>
      <f:fields>
      <TextArea id='mc_comment_field'   value='{comment}' class='mc-add-textarea' growing='true' wrapping='soft' />
      </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:"26529"}, {value:"Save"}], formatter: "translate.Label.get"}' id='subtask26529-submitButton'>
        <customData>
          <core:CustomData key='module' value='rosters'/>
          <core:CustomData key='task' value='rosters_show'/>
          <core:CustomData key='field' value='id'/>
          <core:CustomData key='value' value='{id}'/>
        </customData>
      </Button>
    </HBox>
  </VBox>
  </VBox>
  </HBox>
</VBox>
</mvc:View>