<viewdef type="form"
name="Permit"
class="edu.ku.brc.specify.datamodel.Permit"
gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
<desc><![CDATA[Permit Form.]]></desc>
<enableRules/>
<columnDef>105px,2px,200px,5px,88px,2px,200px,5px,100px,2px,123px,0px,15px,p,p:g</columnDef>
<columnDef os="lnx">115px,2px,210px,5px,105px,2px,210px,5px,120px,2px,141px,0px,15px,p,p:g</columnDef>
<columnDef os="mac">130px,2px,225px,5px,120px,2px,225px,5px,140px,2px,176px,0px,15px,p,p:g</columnDef>
<columnDef os="exp">p,2px,p:g(2),5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2),0px,p,p:g</columnDef>
<rowDef auto="true" cell="p" sep="2dlu"/>
<rows>
<row>
<cell type="label" labelfor="1"/>
<cell type="field" id="1" name="permitNumber" uitype="text"/>
<cell type="label" labelfor="2"/>
<cell type="field" id="2" name="type" uitype="combobox" picklist="PermitType"/>
</row>
<row>
<cell type="label" labelfor="3"/>
<cell type="field" id="3" name="issuedBy" uitype="querycbx" initialize="name=Agent"/>
<cell type="label" labelfor="4"/>
<cell type="field" id="4" name="issuedTo" uitype="querycbx" initialize="name=Agent"/>
<cell type="label" labelfor="5"/>
<cell type="field" id="5" name="issuedDate" uitype="formattedtext" uifieldformatter="Date"/>
</row>
<row>
<cell type="label" labelfor="7"/>
<cell type="field" id="7" name="startDate" uitype="formattedtext" uifieldformatter="Date"/>
<cell type="label" labelfor="8"/>
<cell type="field" id="8" name="endDate" uitype="formattedtext" uifieldformatter="Date"/>
<cell type="label" labelfor="6"/>
<cell type="field" id="6" name="renewalDate" uitype="formattedtext" uifieldformatter="Date"/>
</row>
<row>
<cell type="label" labelfor="9"/>
<cell type="field" id="9" name="remarks" uitype="textareabrief" rows="2" colspan="10"/>
</row>
<row>
<cell type="separator" label="Attachments" colspan="13"/>
</row>
<row>
<cell type="subview" viewname="ObjectAttachment" id="10" name="permitAttachments" colspan="13" initialize="btn=true;icon=PermitAttachment"/>
</row>
<!--<row>
<cell type="label" labelfor="n1"/>
<cell type="field" id="n1" name="number1" uitype="text"/>
<cell type="label" labelfor="n2"/>
<cell type="field" id="n2" name="number2" uitype="text"/>
</row>
<row>
<cell type="label" labelfor="t1"/>
<cell type="field" id="t1" name="text1" uitype="text"/>
<cell type="label" labelfor="t2"/>
<cell type="field" id="t2" name="text2" uitype="text"/>
</row>
<row>
<cell type="field" id="20" name="yesNo1" uitype="checkbox" initialize="editable=true"/>
<cell type="field" id="20" name="yesNo2" uitype="checkbox" initialize="editable=true"/>
</row>
<row>
<cell type="label" labelfor="9"/>
<cell type="field" id="9" name="createdByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
<cell type="label" labelfor="10"/>
<cell type="field" id="10" name="modifiedByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
</row>
<row>
<cell type="label" labelfor="11"/>
<cell type="field" id="11" name="timestampModified" uitype="label" readonly="true"/>
<cell type="label" labelfor="12"/>
<cell type="field" id="12" name="timestampCreated" uitype="label" readonly="true"/>
</row>-->
</rows>
</viewdef>
<viewdef type="form"
name="PermitForAccessions"
class="edu.ku.brc.specify.datamodel.Permit"
gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
<desc><![CDATA[Permit subform for Acessions.]]></desc>
<enableRules/>
<columnDef>100px,2px,p,2px,100px,2px,p,2px,60px,2px,p,p:g</columnDef>
<rowDef auto="true" cell="p" sep="2dlu"/>
<rows>
<row>
<cell type="label" labelfor="1"/>
<cell type="field" id="1" name="permitNumber" uitype="text"/>
<cell type="label" labelfor="3"/>
<cell type="field" id="3" name="type" uitype="combobox" initialize="data=N/A, CITES, State, Federal, International"/>
</row>
<row>
<cell type="label" labelfor="4"/>
<cell type="field" id="4" name="issuedBy" uitype="querycbx" initialize="name=Agent"/>
<cell type="label" labelfor="5"/>
<cell type="field" id="5" name="issuedTo" uitype="querycbx" initialize="name=Agent"/>
</row>
<row>
<cell type="label" labelfor="6"/>
<cell type="field" id="6" name="issuedDate" uitype="formattedtext" uifieldformatter="Date"/>
<cell type="label" labelfor="7"/>
<cell type="field" id="7" name="renewalDate" uitype="formattedtext" uifieldformatter="Date"/>
</row>
<row>
<cell type="label" labelfor="8"/>
<cell type="field" id="8" name="startDate" uitype="formattedtext" uifieldformatter="Date"/>
<cell type="label" labelfor="9"/>
<cell type="field" id="9" name="endDate" uitype="formattedtext" uifieldformatter="Date"/>
</row>
<row>
<cell type="label" labelfor="10"/>
<cell type="field" id="10" name="remarks" uitype="textareabrief" rows="2" colspan="9"/>
</row>
</rows>
</viewdef>