Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1170771
access_pricing_edit.tpl
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Sep 27, 7:24 PM
Size
3 KB
Mime Type
text/html
Expires
Mon, Sep 29, 7:24 PM (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
758599
Attached To
rMINC Modules.In-Commerce
access_pricing_edit.tpl
View Options
<
inp2:m_include
t
=
"incs/header"
/>
<
inp2:m_RenderElement
name
=
"combined_header"
prefix
=
"p"
section
=
"in-portal:browse"
title_preset
=
"pricing_edit"
/>
<!-- ToolBar -->
<
table
class
=
"toolbar"
height
=
"30"
cellspacing
=
"0"
cellpadding
=
"0"
width
=
"100%"
border
=
"0"
>
<
tbody
>
<
tr
>
<
td
>
<
script
type
=
"text/javascript"
>
a_toolbar
=
new
ToolBar
();
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'select'
,
'<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>'
,
function
()
{
submit_event
(
'pr'
,
'<inp2:pr_SaveEvent/>'
);
}
)
);
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'cancel'
,
'<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>'
,
function
()
{
submit_event
(
'pr'
,
'OnCancel'
);
}
)
);
a_toolbar
.
AddButton
(
new
ToolBarSeparator
(
'sep1'
)
);
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'prev'
,
'<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>'
,
function
()
{
go_to_id
(
'pr'
,
'<inp2:pr_PrevId/>'
);
}
));
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'next'
,
'<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>'
,
function
()
{
go_to_id
(
'pr'
,
'<inp2:pr_NextId/>'
);
}
));
a_toolbar
.
Render
();
<
inp2
:
m_if
check
=
"pr_IsSingle"
>
a_toolbar
.
HideButton
(
'prev'
);
a_toolbar
.
HideButton
(
'next'
);
a_toolbar
.
HideButton
(
'sep1'
);
<
inp2
:
m_else
/>
<
inp2
:
m_if
check
=
"pr_IsLast"
>
a_toolbar
.
DisableButton
(
'next'
);
<
/inp2:m_if>
<
inp2
:
m_if
check
=
"pr_IsFirst"
>
a_toolbar
.
DisableButton
(
'prev'
);
<
/inp2:m_if>
<
/inp2:m_if>
</
script
>
</
td
>
</
tr
>
</
tbody
>
</
table
>
<
inp2:pr_SaveWarning
name
=
"grid_save_warning"
/>
<
inp2:pr_ErrorWarning
name
=
"form_error_warning"
/>
<
div
id
=
"scroll_container"
>
<
table
class
=
"edit-form"
>
<
inp2:m_RenderElement
name
=
"subsection"
title
=
"la_section_PriceBracket"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_hidden"
prefix
=
"pr"
field
=
"ProductId"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_box"
prefix
=
"pr"
field
=
"AccessDuration"
title
=
"la_fld_AccessDuration"
size
=
"4"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_options"
prefix
=
"pr"
field
=
"AccessUnit"
title
=
"la_fld_AccessDurationUnit"
size
=
"20"
/>
<!--## TODO check on implementation (came from customization healtheconomics.org)
<inp2:m_RenderElement name="inp_edit_box" prefix="pr" field="AccessRebillDate" title="la_fld_AccessRebillDate" size="5"/>
<inp2:m_RenderElement name="inp_edit_radio" prefix="pr" field="DurationType" title="la_fld_DurationType"/>
<inp2:m_RenderElement name="inp_edit_date" prefix="pr" field="AccessExpiration" title="la_fld_AccessExpiration"/>
## -->
<
inp2:m_RenderElement
name
=
"inp_edit_box"
prefix
=
"pr"
field
=
"Description"
title
=
"la_fld_Description"
size
=
"30"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_box"
prefix
=
"pr"
field
=
"Price"
title
=
"la_fld_Price"
size
=
"4"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_checkbox"
prefix
=
"pr"
field
=
"IsPrimary"
title
=
"la_fld_Primary"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_filler"
/>
</
table
>
</
div
>
<
inp2:m_if
check
=
"pr_Field"
name
=
"IsPrimary"
>
<
script
type
=
"text/javascript"
>
document
.
getElementById
(
'_cb_<inp2:pr_InputName field="IsPrimary"/>'
).
disabled
=
true
;
</
script
>
</
inp2:m_if
>
<
inp2:m_include
t
=
"incs/footer"
/>
Event Timeline
Log In to Comment