-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathattachment_subject_Vv.xml
20 lines (20 loc) · 1.65 KB
/
attachment_subject_Vv.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<GroupBox Name="GBDVattachment_subject" cols="xs12 sm12 md12 lg12"><Ctrls>
<ListCtrl Name="attachment_subject_vLst" ToolTip="ttp_attachment_subject_v" Size="700,450" OnLoad="init" Heading="subject,640;remark,640;created_by,55;creation_date,150;last_update_by,55;last_update_date,150;attachment_subject_id,100;" loadedclick="0">
<DbDetails >
<Index>attachment_subject_id</Index>
<DbTable>vtigercrm6.attachment_subject a left join vtigercrm6.vtiger_users v on a.created_by=v.id left join vtigercrm6.vtiger_users v0 on a.last_update_by=v0.id</DbTable>
<Data>a.subject,a.remark,v.user_name created_by,a.creation_date,v0.user_name last_update_by,a.last_update_date,a.attachment_subject_id</Data>
<Order>attachment_subject_id</Order></DbDetails>
<operator refresh="1" firstpage="1" prepage="1" nextpage="1">
<op text="modify"><DbDetails><Where>attachment_subject_id='%{attachment_subject_vLst[attachment_subject_id]}'</Where></DbDetails><submit namelist="DbDetails" next="$this.attachment_subject.attachment_subjectLst"/><assign name="$this.attachment_subject.frmwndctrl" expr="%{this}"/></op>
<op text="delete" needconfirm="1"><DbDetails>
<DbTable>vtigercrm6.attachment_subject</DbTable>
<Where>attachment_subject_id='%{attachment_subject_vLst[attachment_subject_id]}'</Where>
<queryFormat>delete from %{table} where %{where}</queryFormat></DbDetails>
<submit namelist="DbDetails"/><submit/></op>
</operator>
<OnChanged>
<assign name="pgcur_attachment_subject" expr="js(%{attachment_subject_vLst[currentpage]}+1)"/>
<assign name="pgscb_attachment_subject" expr="js(%{attachment_subject_vLst[currentpage]}+1)" function="SetSel"/>
</OnChanged></ListCtrl>
</Ctrls></GroupBox>