<?xml version="1.0" encoding="utf-8"?>
<DataForm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns="http://www.enova.pl/schema/form.xsd"
          xsi:schemaLocation="http://www.enova.pl/schema/ http://www.enova.pl/schema/form.xsd"
          Priority="10">

  <Page CaptionHtml="Szczegoly" DataContext="{DataSource}">

    <Group CaptionHtml="Dane podstawowe">
      <Field CaptionHtml="Numer" Width="20" EditValue="{Numer}" />
      <Field CaptionHtml="DataZlozenia" Width="15" EditValue="{DataZlozenia}" />
      <Field CaptionHtml="Kontrahent" Width="*" EditValue="{Kontrahent}" />
      <Field CaptionHtml="Status" Width="15" EditValue="{Status}" />
    </Group>

    <Group CaptionHtml="Warunki">
      <Row>
        <Stack>
          <Field CaptionHtml="SposobDostawy" Width="20" EditValue="{SposobDostawy}" />
          <Field CaptionHtml="TerminDostawy" Width="15" EditValue="{TerminDostawy}" />
        </Stack>
        <Stack>
          <Field CaptionHtml="SposobZaplaty" Width="20" EditValue="{SposobZaplaty}" />
          <Field CaptionHtml="TerminZaplaty" Width="15" EditValue="{TerminZaplaty}" />
        </Stack>
      </Row>
    </Group>

    <Group CaptionHtml="Pozycje">
      <Grid Width="*" Height="*"
            EditValue="{Pozycje}"
            IsToolbarVisible="true"
            EditInPlace="true"
            NewInPlace="true">
        <Field CaptionHtml="Lp" Width="5" EditValue="{Lp}" />
        <Field CaptionHtml="Towar" Width="*" EditValue="{Towar}" />
        <Field CaptionHtml="Ilosc" Width="10" EditValue="{Ilosc}" Footer="Sum" />
        <Field CaptionHtml="CenaJednostkowa" Width="18" EditValue="{CenaJednostkowa}" />
        <Field CaptionHtml="Wartosc" Width="15" EditValue="{Wartosc}" Footer="Sum" />
      </Grid>
    </Group>

  </Page>
</DataForm>
