<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.clients.tasks.clients_show.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='{query>/name}'>
    <Link id='homeLink' press='goHome' text='Home' icon='sap-icon://home'/>
    <Link id='moduleLink' press='taskNav' text='{parts: [{value:"FOLDER"}, {value:"CLIENTS"}, {value:""}], formatter: "translate.Label.get"}'>
      <customData>
        <core:CustomData key='module' value='clients'/>
        <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-options" id="subtask28349" height='100%'>
    <HBox visible='false' id='subtask28349-activeActions' class="mc-options-hbox" backgroundDesign="Solid" alignContent="SpaceAround" justifyContent='Center' >
      <Button 
      	class="optionsButton" 
      	icon="sap-icon://fa-regular/pen" type="Emphasized"       
        visible="{parts: [{value: 'CLIENTS.UPDATE_ALL'},{value: 'CLIENTS.UPDATE_LIMITED'}], formatter: '.checkScopes'}" 
        tooltip='{parts: [{value:"ACTIONS"}, {value:"MODIFY"}, {value:"MODIFY"}], formatter: "translate.Label.get"}'
        id='subtask28349-optionsButton-1'
      >
        <customData>
        <core:CustomData key="module" value="clients"/>
        <core:CustomData key="task" value="clients_mod"/>
        <core:CustomData key='field' value='id'/>
        <core:CustomData key='value' value='{query>/id}'/>
        </customData>
      </Button>
      <Button 
      	class="optionsButton" 
      	icon="sap-icon://fa-regular/file-pdf" 
        type="Emphasized"       
        visible="{parts: [{value: 'CLIENTS.READ_ALL'}], formatter: '.checkScopes'}" 
        tooltip='{parts: [{value:"ACTIONS"}, {value:"PDF"}, {value:"PDF"}], formatter: "translate.Label.get"}'
        id='subtask28349-optionsButton-3'
      >
      </Button>
      <Button 
      	class="optionsButton" 
      	icon="sap-icon://fa-regular/trash" 
        type="Emphasized"       
        visible="{parts: [{value: 'CLIENTS.DELETE_ALL'}, {value: 'CLIENTS.DELETE_LIMITED'}], formatter: '.checkScopes'}" 
        tooltip='{parts: [{value:"ACTIONS"}, {value:"DELETE"}, {value:"DELETE"}], formatter: "translate.Label.get"}'
        id='subtask28349-optionsButton-2'
      >
        <customData>
        <core:CustomData key="module" value="clients"/>
        <core:CustomData key="task" value="delete"/>
        <core:CustomData key='field' value='id'/>
        <core:CustomData key='value' value='{query>/id}'/>
        </customData>
      </Button>
    </HBox>
    <HBox visible='false' id='subtask28349-inactiveActions' class="mc-options-hbox" backgroundDesign="Solid" alignContent="SpaceAround" justifyContent='Center' >
      <Button 
      	class="optionsButton" 
        icon="sap-icon://fa-regular/recycle" 
        type="Emphasized"       
        visible="{parts: [{value: 'CLIENTS.UPDATE_ALL'},{value: 'CLIENTS.UPDATE_LIMITED'}], formatter: '.checkScopes'}" 
        tooltip='{parts: [{value:"ACTIONS"}, {value:"MODIFY"}, {value:"MODIFY"}], formatter: "translate.Label.get"}'
        id='subtask28349-reactive'
      >
        <customData>
        <core:CustomData key="module" value="clients"/>
        <core:CustomData key="task" value="delete"/>
        <core:CustomData key='field' value='id'/>
        <core:CustomData key='value' value='{query>/id}'/>
        </customData>
      </Button>
    </HBox>
	</VBox>
  <VBox class='mc-show mc-form' backgroundDesign='Solid' alignContent='SpaceAround' id='subtask26306' >
    <Title text='{parts: [{value:"SUBTITLE"}, {value:"26306"}, {value:"Show"}], formatter: "translate.Label.get"}' level='H2'/>
    <IconTabBar expandable='false' class='mc-form-tabbar' id='subtask26306-iconTabBar'>
    <items>
      <IconTabFilter text='{parts: [{value:"TAB"}, {value:"56669"}, {value:"Stammdaten"}], formatter: "translate.Label.get"}'>
      <f:Form editable='false'>
        <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_clients_bs"}, {value:"name"}], formatter: "translate.Field.get"}' visible='{= !!${path: "name", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'name',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"status"}], formatter: "translate.Field.get"}' visible='{= !!${path: "status", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: '_status/name',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"cat_id"}], formatter: "translate.Field.get"}' visible='{= !!${path: "cat_id", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: '_cat_id/name',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"parent_id"}], formatter: "translate.Field.get"}' visible='{= !!${path: "parent_id", targetType: "any"} }'>
      <f:fields>
<HBox alignItems='Start' justifyContent='Start'><Link class='mc-show-hierarchy-link' press='taskNav' text="{path:'_parent_id/_parent_id/_parent_id/_parent_id/_parent_id/name', targetType: 'any'}">
<customData>
<core:CustomData key='module' value='clients'/>
<core:CustomData key='task' value='clients_show'/>
<core:CustomData key='id' value='{_parent_id/_parent_id/_parent_id/_parent_id/_parent_id/id}'/>
</customData>
</Link>
<Text class='mc-show-hierarchy-seperator' text='/' visible="{= ${path:'_parent_id/_parent_id/_parent_id/_parent_id/_parent_id/name', targetType: 'string'} !== ''}"/>
<Link class='mc-show-hierarchy-link' press='taskNav' text="{path:'_parent_id/_parent_id/_parent_id/_parent_id/name', targetType: 'any'}">
<customData>
<core:CustomData key='module' value='clients'/>
<core:CustomData key='task' value='clients_show'/>
<core:CustomData key='id' value='{_parent_id/_parent_id/_parent_id/_parent_id/id}'/>
</customData>
</Link>
<Text class='mc-show-hierarchy-seperator' text='/' visible="{= ${path:'_parent_id/_parent_id/_parent_id/_parent_id/name', targetType: 'string'} !== ''}"/>
<Link class='mc-show-hierarchy-link' press='taskNav' text="{path:'_parent_id/_parent_id/_parent_id/name', targetType: 'any'}">
<customData>
<core:CustomData key='module' value='clients'/>
<core:CustomData key='task' value='clients_show'/>
<core:CustomData key='id' value='{_parent_id/_parent_id/_parent_id/id}'/>
</customData>
</Link>
<Text class='mc-show-hierarchy-seperator' text='/' visible="{= ${path:'_parent_id/_parent_id/_parent_id/name', targetType: 'string'} !== ''}"/>
<Link class='mc-show-hierarchy-link' press='taskNav' text="{path:'_parent_id/_parent_id/name', targetType: 'any'}">
<customData>
<core:CustomData key='module' value='clients'/>
<core:CustomData key='task' value='clients_show'/>
<core:CustomData key='id' value='{_parent_id/_parent_id/id}'/>
</customData>
</Link>
<Text class='mc-show-hierarchy-seperator' text='/' visible="{= ${path:'_parent_id/_parent_id/name', targetType: 'string'} !== ''}"/>
<Link class='mc-show-hierarchy-link' press='taskNav' text="{path:'_parent_id/name', targetType: 'any'}">
<customData>
<core:CustomData key='module' value='clients'/>
<core:CustomData key='task' value='clients_show'/>
<core:CustomData key='id' value='{_parent_id/id}'/>
</customData>
</Link>
      </HBox>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"sap_number"}], formatter: "translate.Field.get"}' visible='{= !!${path: "sap_number", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'sap_number',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"field_free1"}], formatter: "translate.Field.get"}' visible='{= !!${path: "field_free1", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'field_free1',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"field_free2"}], formatter: "translate.Field.get"}'>
      <f:fields>
      <Text text="{path: 'field_free2', type: 'format.Boolean',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"field_free3"}], formatter: "translate.Field.get"}' visible='{= !!${path: "field_free3", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'field_free3',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"web1"}], formatter: "translate.Field.get"}' visible='{= !!${path: "web1", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'web1',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      </f:FormContainer>
      </f:formContainers>
      </f:Form>
      </IconTabFilter>
      <IconTabFilter text='{parts: [{value:"TAB"}, {value:"58394"}, {value:"Adressdaten"}], formatter: "translate.Label.get"}'>
      <f:Form editable='false'>
        <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_clients_bs"}, {value:"empresa_street"}], formatter: "translate.Field.get"}' visible='{= !!${path: "empresa_street", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'empresa_street',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"empresa_pc"}], formatter: "translate.Field.get"}' visible='{= !!${path: "empresa_pc", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'empresa_pc',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"empresa_city"}], formatter: "translate.Field.get"}' visible='{= !!${path: "empresa_city", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'empresa_city',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      </f:FormContainer>
      </f:formContainers>
      </f:Form>
      </IconTabFilter>
      <IconTabFilter text='{parts: [{value:"TAB"}, {value:"56701"}, {value:"Andere Daten"}], formatter: "translate.Label.get"}'>
      <f:Form editable='false'>
        <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_clients_bs"}, {value:"comment"}], formatter: "translate.Field.get"}' visible='{= !!${path: "comment", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'comment',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"date_create"}], formatter: "translate.Field.get"}' visible='{= !!${path: "date_create", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'date_create', type: 'format.Date',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"user_create"}], formatter: "translate.Field.get"}' visible='{= !!${path: "user_create", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'user_create',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"date_mod"}], formatter: "translate.Field.get"}' visible='{= !!${path: "date_mod", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'date_mod', type: 'format.Date',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"user_mod"}], formatter: "translate.Field.get"}' visible='{= !!${path: "user_mod", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'user_mod',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"date_valid"}], formatter: "translate.Field.get"}' visible='{= !!${path: "date_valid", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'date_valid', type: 'format.Date',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      <f:FormElement label='{parts: [{value:"crm_clients_bs"}, {value:"user_valid"}], formatter: "translate.Field.get"}' visible='{= !!${path: "user_valid", targetType: "any"} }'>
      <f:fields>
      <Text text="{path: 'user_valid',targetType: 'any'}"/>
      </f:fields>
      </f:FormElement>
      </f:FormContainer>
      </f:formContainers>
      </f:Form>
      </IconTabFilter>
    </items>
    </IconTabBar>
  </VBox>
<VBox class='mc-items' backgroundDesign='Solid' alignContent='SpaceAround' id='subtask26850' width='100%'  visible='{parts: [{value: "CLIENTS.READ_ALL"}, {value: "CLIENTS.READ_LIMITED"}], formatter: ".checkScopes"}'>
  <HBox width='100%' justifyContent='SpaceBetween' alignItems='Center' class='mc-items-toolbar'>
    <VBox class='mc-items-title-container'>
      <HBox justifyContent='Start' alignItems='Center'>
        <Title text='{parts: [{value:"ITEMS"}, {value:"26850"}, {value:"Untereinheiten"}], formatter: "translate.Label.get"}' level='H2' />
        <Button class='mc-items-expandButton' id='subtask26850-expandButton' icon='sap-icon://fa-solid/chevron-right' type='Transparent'/>
      </HBox>
      <HBox justifyContent='Start' alignItems='Center'>
        <Text           text="{= %{path: '$count', targetType: 'string'} !== null ? ${$count} + ' ' : '0 '}"           id='subtask26850-title'           class='sapUiTinyMarginEnd'         />
        <Text           text='{parts: [{value:"SUBTITLE"}, {value:"26850"}, {value:" Einträge"}], formatter: "translate.Label.get"}'           id='subtask26850-title-label'         />
      </HBox>
    </VBox>
    <HBox class='mc-items-toolbarButton-container'>
      <Input id='subtask26850-searchInput' placeholder='{parts: [{value:"SEARCH"}, {value:"26850"}, {value:"Suche"}], formatter: "translate.Label.get"}'/>
      <Button class='mc-items-toolbarButton' id='subtask26850-addButton' icon='sap-icon://fa-solid/plus' type='Unstyled' press='taskNav' visible='{parts: [{value: "CLIENTS.CREATE_ALL"}, {value: "CLIENTS.CREATE_LIMITED"}], formatter: ".checkScopes"}'>
        <customData>
          <core:CustomData             key='module'             value='clients'           />
          <core:CustomData             key='task'             value='clients_add'           />
          <core:CustomData             key='field'             value='parent_id'           />
          <core:CustomData             key='value'             value="{path: 'query>/id', type: 'sap.ui.model.type.Integer', formatOptions:{groupingEnabled: false}}"           />
        </customData>
      </Button>
    </HBox>
  </HBox>
  <List items="{path: '/crm_clients_bs'}" id='subtask26850-items' width='100%' visible='false'>
    <core:Fragment       fragmentName='sap.mcsuite.view.fragments.items.clients_item'      type='XML'     />
  </List>
</VBox>
<VBox class='mc-items' backgroundDesign='Solid' alignContent='SpaceAround' id='subtask26844' width='100%'  visible='{parts: [{value: "SHOPS.READ_ALL"}, {value: "SHOPS.READ_LIMITED"}], formatter: ".checkScopes"}'>
  <HBox width='100%' justifyContent='SpaceBetween' alignItems='Center' class='mc-items-toolbar'>
    <VBox class='mc-items-title-container'>
      <HBox justifyContent='Start' alignItems='Center'>
        <Title text='{parts: [{value:"ITEMS"}, {value:"26844"}, {value:"Objekte"}], formatter: "translate.Label.get"}' level='H2' />
        <Button class='mc-items-expandButton' id='subtask26844-expandButton' icon='sap-icon://fa-solid/chevron-right' type='Transparent'/>
      </HBox>
      <HBox justifyContent='Start' alignItems='Center'>
        <Text           text="{= %{path: '$count', targetType: 'string'} !== null ? ${$count} + ' ' : '0 '}"           id='subtask26844-title'           class='sapUiTinyMarginEnd'         />
        <Text           text='{parts: [{value:"SUBTITLE"}, {value:"26844"}, {value:" Einträge"}], formatter: "translate.Label.get"}'           id='subtask26844-title-label'         />
      </HBox>
    </VBox>
    <HBox class='mc-items-toolbarButton-container'>
      <Input id='subtask26844-searchInput' placeholder='{parts: [{value:"SEARCH"}, {value:"26844"}, {value:"Suche"}], formatter: "translate.Label.get"}'/>
      <Button class='mc-items-toolbarButton' id='subtask26844-addButton' icon='sap-icon://fa-solid/plus' type='Unstyled' press='taskNav' visible='{parts: [{value: "SHOPS.CREATE_ALL"}], formatter: ".checkScopes"}'>
        <customData>
          <core:CustomData             key='module'             value='shops'           />
          <core:CustomData             key='task'             value='shops_add'           />
          <core:CustomData             key='field'             value='client_id'           />
          <core:CustomData             key='value'             value="{path: 'query>/id', type: 'sap.ui.model.type.Integer', formatOptions:{groupingEnabled: false}}"           />
        </customData>
      </Button>
    </HBox>
  </HBox>
  <List items="{path: '/crm_shops_bs'}" id='subtask26844-items' width='100%' visible='false'>
    <core:Fragment       fragmentName='sap.mcsuite.view.fragments.items.shops_item'      type='XML'     />
  </List>
</VBox>
<VBox class='mc-items' backgroundDesign='Solid' alignContent='SpaceAround' id='subtask26843' width='100%'  visible='{parts: [{value: "CONTACTS.READ_ALL"}, {value: "CONTACTS.READ_LIMITED"}], formatter: ".checkScopes"}'>
  <HBox width='100%' justifyContent='SpaceBetween' alignItems='Center' class='mc-items-toolbar'>
    <VBox class='mc-items-title-container'>
      <HBox justifyContent='Start' alignItems='Center'>
        <Title text='{parts: [{value:"ITEMS"}, {value:"26843"}, {value:"Teilnehmer"}], formatter: "translate.Label.get"}' level='H2' />
        <Button class='mc-items-expandButton' id='subtask26843-expandButton' icon='sap-icon://fa-solid/chevron-right' type='Transparent'/>
      </HBox>
      <HBox justifyContent='Start' alignItems='Center'>
        <Text           text="{= %{path: '$count', targetType: 'string'} !== null ? ${$count} + ' ' : '0 '}"           id='subtask26843-title'           class='sapUiTinyMarginEnd'         />
        <Text           text='{parts: [{value:"SUBTITLE"}, {value:"26843"}, {value:" Einträge"}], formatter: "translate.Label.get"}'           id='subtask26843-title-label'         />
      </HBox>
    </VBox>
    <HBox class='mc-items-toolbarButton-container'>
      <Input id='subtask26843-searchInput' placeholder='{parts: [{value:"SEARCH"}, {value:"26843"}, {value:"Suche"}], formatter: "translate.Label.get"}'/>
      <Button class='mc-items-toolbarButton' id='subtask26843-addButton' icon='sap-icon://fa-solid/plus' type='Unstyled' press='taskNav' visible='{parts: [{value: "CONTACTS.CREATE_ALL"}, {value: "CONTACTS.CREATE_LIMITED"}], formatter: ".checkScopes"}'>
        <customData>
          <core:CustomData             key='module'             value='contacts'           />
          <core:CustomData             key='task'             value='contacts_add'           />
          <core:CustomData             key='field'             value='client_id'           />
          <core:CustomData             key='value'             value="{path: 'query>/id', type: 'sap.ui.model.type.Integer', formatOptions:{groupingEnabled: false}}"           />
        </customData>
      </Button>
    </HBox>
  </HBox>
  <List items="{path: '/crm_contacts_bs'}" id='subtask26843-items' width='100%' visible='false'>
    <core:Fragment       fragmentName='sap.mcsuite.view.fragments.items.contacts_item'      type='XML'     />
  </List>
</VBox>
<VBox class='mc-items' backgroundDesign='Solid' alignContent='SpaceAround' id='subtask26845' width='100%'  visible='{parts: [{value: "JOBS.READ_ALL"}, {value: "JOBS.READ_LIMITED"}], formatter: ".checkScopes"}'>
  <HBox width='100%' justifyContent='SpaceBetween' alignItems='Center' class='mc-items-toolbar'>
    <VBox class='mc-items-title-container'>
      <HBox justifyContent='Start' alignItems='Center'>
        <Title text='{parts: [{value:"ITEMS"}, {value:"26845"}, {value:"Funktionen"}], formatter: "translate.Label.get"}' level='H2' />
        <Button class='mc-items-expandButton' id='subtask26845-expandButton' icon='sap-icon://fa-solid/chevron-right' type='Transparent'/>
      </HBox>
      <HBox justifyContent='Start' alignItems='Center'>
        <Text           text="{= %{path: '$count', targetType: 'string'} !== null ? ${$count} + ' ' : '0 '}"           id='subtask26845-title'           class='sapUiTinyMarginEnd'         />
        <Text           text='{parts: [{value:"SUBTITLE"}, {value:"26845"}, {value:" Einträge"}], formatter: "translate.Label.get"}'           id='subtask26845-title-label'         />
      </HBox>
    </VBox>
    <HBox class='mc-items-toolbarButton-container'>
      <Input id='subtask26845-searchInput' placeholder='{parts: [{value:"SEARCH"}, {value:"26845"}, {value:"Suche"}], formatter: "translate.Label.get"}'/>
      <Button class='mc-items-toolbarButton' id='subtask26845-addButton' icon='sap-icon://fa-solid/plus' type='Unstyled' press='taskNav' visible='{parts: [{value: "JOBS.CREATE_ALL"}, {value: "JOBS.CREATE_LIMITED"}], formatter: ".checkScopes"}'>
        <customData>
          <core:CustomData             key='module'             value='jobs'           />
          <core:CustomData             key='task'             value='add'           />
          <core:CustomData             key='field'             value='client_id'           />
          <core:CustomData             key='value'             value="{path: 'query>/id', type: 'sap.ui.model.type.Integer', formatOptions:{groupingEnabled: false}}"           />
        </customData>
      </Button>
    </HBox>
  </HBox>
  <List items="{path: '/erp_jobs_bs'}" id='subtask26845-items' width='100%' visible='false'>
    <core:Fragment       fragmentName='sap.mcsuite.view.fragments.items.jobs_item'      type='XML'     />
  </List>
</VBox>
<VBox class='mc-items' backgroundDesign='Solid' alignContent='SpaceAround' id='subtask28217' width='100%'  visible='{parts: [{value: "ROSTERS.READ_ALL"}, {value: "ROSTERS.READ_LIMITED"}], formatter: ".checkScopes"}'>
  <HBox width='100%' justifyContent='SpaceBetween' alignItems='Center' class='mc-items-toolbar'>
    <VBox class='mc-items-title-container'>
      <HBox justifyContent='Start' alignItems='Center'>
        <Title text='{parts: [{value:"ITEMS"}, {value:"28217"}, {value:"Dienstpläne"}], formatter: "translate.Label.get"}' level='H2' />
        <Button class='mc-items-expandButton' id='subtask28217-expandButton' icon='sap-icon://fa-solid/chevron-right' type='Transparent'/>
      </HBox>
      <HBox justifyContent='Start' alignItems='Center'>
        <Text           text="{= %{path: '$count', targetType: 'string'} !== null ? ${$count} + ' ' : '0 '}"           id='subtask28217-title'           class='sapUiTinyMarginEnd'         />
        <Text           text='{parts: [{value:"SUBTITLE"}, {value:"28217"}, {value:" Einträge"}], formatter: "translate.Label.get"}'           id='subtask28217-title-label'         />
      </HBox>
    </VBox>
    <HBox class='mc-items-toolbarButton-container'>
      <Input id='subtask28217-searchInput' placeholder='{parts: [{value:"SEARCH"}, {value:"28217"}, {value:"Suche"}], formatter: "translate.Label.get"}'/>
    </HBox>
  </HBox>
  <List items="{path: '/gpv_rosters_bs'}" id='subtask28217-items' width='100%' visible='false'>
    <core:Fragment       fragmentName='sap.mcsuite.view.fragments.items.rosters_item'      type='XML'     />
  </List>
</VBox>
<VBox class='mc-items' backgroundDesign='Solid' alignContent='SpaceAround' id='subtask28247' width='100%'  visible='{parts: [{value: "USERS.READ_ALL"}], formatter: ".checkScopes"}'>
  <HBox width='100%' justifyContent='SpaceBetween' alignItems='Center' class='mc-items-toolbar'>
    <VBox class='mc-items-title-container'>
      <HBox justifyContent='Start' alignItems='Center'>
        <Title text='{parts: [{value:"ITEMS"}, {value:"28247"}, {value:"Client Role Assignments"}], formatter: "translate.Label.get"}' level='H2' />
        <Button class='mc-items-expandButton' id='subtask28247-expandButton' icon='sap-icon://fa-solid/chevron-right' type='Transparent'/>
      </HBox>
      <HBox justifyContent='Start' alignItems='Center'>
        <Text           text="{= %{path: '$count', targetType: 'string'} !== null ? ${$count} + ' ' : '0 '}"           id='subtask28247-title'           class='sapUiTinyMarginEnd'         />
        <Text           text='{parts: [{value:"SUBTITLE"}, {value:"28247"}, {value:" Einträge"}], formatter: "translate.Label.get"}'           id='subtask28247-title-label'         />
      </HBox>
    </VBox>
    <HBox class='mc-items-toolbarButton-container'>
      <Input id='subtask28247-searchInput' placeholder='{parts: [{value:"SEARCH"}, {value:"28247"}, {value:"Suche"}], formatter: "translate.Label.get"}'/>
      <Button class='mc-items-toolbarButton' id='subtask28247-addButton' icon='sap-icon://fa-solid/plus' type='Unstyled' press='taskNav' visible='{parts: [{value: "USERS.ASSIGN_ALL"}], formatter: ".checkScopes"}'>
        <customData>
          <core:CustomData             key='module'             value='users'           />
          <core:CustomData             key='task'             value='detail_add'           />
          <core:CustomData             key='type'             value='CLIENT'           />
          <core:CustomData             key='client_id'             value='{query>/id}'           />
        </customData>
      </Button>
    </HBox>
  </HBox>
  <List items="{path: '/cfr_users_dt'}" id='subtask28247-items' width='100%' visible='false'>
    <core:Fragment       fragmentName='sap.mcsuite.view.fragments.items.user_assignement_item'      type='XML'     />
  </List>
</VBox>
	<HBox 
  	id="subtask27008-main-container"
  	width='100%'
  	visible="false"
  >
     <VBox 
       class='mc-validate' 
       backgroundDesign='Solid' 
       width='100%' 
       alignContent='SpaceAround' 
       id='subtask27008' 
       visible="{parts: [{value: 'CLIENTS.UPDATE_LIMITED'}, {value: 'CLIENTS.UPDATE_ALL'}], formatter: '.checkScopes'}" 
     >
        <Title class='mc-validate-title' text="{parts: [{value:'LABEL'}, {value:'VALIDIEREN1'}, {value:'Datensatz best?tigen'}], formatter: 'translate.Label.get'}" level="H2"></Title>
          <VBox
            width="100%"
            class="mc-validation-box sapUiTinyMarginBottom sapUiTinyMarginTop"
            alignItems="Start"
            visible="{= !%{path: 'validationModel>/valid'}}"
          >
            <HBox 
              alignItems="Start"
              class="sapUiSmallMarginBottom"
            >
              <Title text="{parts: [{value:'LABEL'}, {value:'VALIDIEREN4'}, {value:'Bitte ?berpr?fen Sie folgende Probleme:'}], formatter: 'translate.Label.get'}" level="H3"></Title>
            </HBox>
            <VBox
              items="{
                path: 'validationModel>/alerts'
              }">
              <items>
                <HBox alignItems="Center" class="sapUiSmallMarginBottom">
                  <core:Icon src="sap-icon://message-warning" size="0.75rem" color="#666" class="sapUiTinyMarginEnd"/>
                  <Text text="{validationModel>message}" />
                </HBox>
              </items>
            </VBox>
          </VBox>
        <HBox 
          width="100%" 
          class='sapUiTinyMarginBottom sapUiTinyMarginTop' 
          alignItems="Center"
          visible="{= !%{path: 'validationModel>/hasBreakingAlerts'}}"
        >
          <CheckBox 	
            text="{parts: [{value:'LABEL'}, {value:'VALIDIEREN2'}, {value:'Ich best?tige, dass alle hinterlegten Daten in diesem Eintrag vollst?ndig und korrekt sind.'}], formatter: 'translate.Label.get'}"
            editable="{= !%{path: 'validationModel>/hasBreakingAlerts'}}"
            id="subtask27008-validateCheckBox"
            class="mc-validate-checkbox-text"
          />
        </HBox>
        <HBox width="100%" justifyContent="Center">
        <!-- This needs to be a label -->
          <Button text="{parts: [{value:'LABEL'}, {value:'VALIDIEREN3'}, {value:'Validieren'}], formatter: 'translate.Label.get'}" type="Accept" press="save" icon="sap-icon://fa-light/check"
          id='subtask27008-validateButton'></Button>
        </HBox>
      </VBox>
   </HBox>
  </VBox>
  </HBox>
</VBox>
</mvc:View>