Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1949597
orders_edit_shipping.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
Thu, Oct 29, 6:50 AM
Size
10 KB
Mime Type
text/html
Expires
Sat, Oct 31, 6:50 AM (1 h, 55 m)
Engine
blob
Format
Raw Data
Handle
963480
Attached To
rMINC Modules.In-Commerce
orders_edit_shipping.tpl
View Options
<
inp2:m_RequireLogin
permissions
=
"in-commerce:orders.view"
system
=
"1"
/>
<
inp2:m_include
t
=
"incs/header"
nobody
=
"yes"
/>
<
body
topmargin
=
"0"
leftmargin
=
"8"
marginheight
=
"0"
marginwidth
=
"8"
bgcolor
=
"#FFFFFF"
>
<
inp2:m_ParseBlock
name
=
"section_header"
prefix
=
"ord"
icon
=
"icon46_orders"
module
=
"in-commerce"
title
=
"!la_title_Orders!"
/>
<
inp2:m_include
t
=
"in-commerce/orders/orders_edit_tabs"
/>
<
inp2:m_ParseBlock
name
=
"blue_bar"
prefix
=
"ord"
title_preset
=
"orders_edit_shipping"
module
=
"in-commerce"
icon
=
"icon46_orders"
/>
<!-- 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
(
'ord'
,
'<inp2:ord_SaveEvent/>'
);
}
)
);
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'cancel'
,
'<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>'
,
function
()
{
submit_event
(
'ord'
,
'OnCancelEdit'
);
}
)
);
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
(
'ord'
,
'<inp2:ord_PrevId/>'
);
}
)
);
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'next'
,
'<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>'
,
function
()
{
go_to_id
(
'ord'
,
'<inp2:ord_NextId/>'
);
}
)
);
<
inp2
:
ord_OrderEditable
>
a_toolbar
.
AddButton
(
new
ToolBarSeparator
(
'sep2'
)
);
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'reset_to_user'
,
'<inp2:m_phrase label="la_ToolTip_ResetToUser" escape="1"/>'
,
function
()
{
submit_event
(
'ord'
,
'OnResetToUser'
);
}
)
);
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'reset_to_billing'
,
'<inp2:m_phrase label="la_ToolTip_ResetToBilling" escape="1"/>'
,
function
()
{
submit_event
(
'ord'
,
'OnResetToBilling'
);
}
)
);
<
/inp2>
a_toolbar
.
Render
();
<
inp2
:
m_if
prefix
=
"ord"
function
=
"IsSingle"
/>
a_toolbar
.
HideButton
(
'prev'
);
a_toolbar
.
HideButton
(
'next'
);
a_toolbar
.
HideButton
(
'sep1'
);
a_toolbar
.
HideButton
(
'sep2'
);
<
inp2
:
m_else
/>
<
inp2
:
m_if
prefix
=
"ord"
function
=
"IsLast"
/>
a_toolbar
.
DisableButton
(
'next'
);
<
inp2
:
m_endif
/>
<
inp2
:
m_if
prefix
=
"ord"
function
=
"IsFirst"
/>
a_toolbar
.
DisableButton
(
'prev'
);
<
inp2
:
m_endif
/>
<
inp2
:
m_endif
/>
</
script
>
</
td
>
</
tr
>
</
tbody
>
</
table
>
<
inp2:m_ParseBlock
name
=
"inp_edit_hidden"
prefix
=
"ord"
field
=
"Status"
db
=
"db"
/>
<
inp2:ord_SaveWarning
name
=
"grid_save_warning"
/>
<
table
width
=
"100%"
border
=
"0"
cellspacing
=
"0"
cellpadding
=
"4"
class
=
"tableborder"
>
<
inp2:m_ParseBlock
name
=
"subsection"
title
=
"!la_section_OrderShipping!"
/>
<
inp2:ord_OrderEditable
>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingTo"
title
=
"!la_fld_ShippingTo!"
size
=
"40"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingCompany"
title
=
"!la_fld_ShippingCompany!"
size
=
"40"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingPhone"
title
=
"!la_fld_ShippingPhone!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingFax"
title
=
"!la_fld_ShippingFax!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingEmail"
title
=
"!la_fld_ShippingEmail!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingAddress1"
title
=
"!la_fld_ShippingAddress1!"
size
=
"40"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingAddress2"
title
=
"!la_fld_ShippingAddress2!"
size
=
"40"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingCity"
title
=
"!la_fld_ShippingCity!"
size
=
"20"
/>
<
script
type
=
"text/javascript"
>
function
update_address
()
{
submit_event
(
'ord'
,
'OnQuietPreSave'
);
}
</
script
>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingState"
title
=
"!la_fld_ShippingState!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingZip"
title
=
"!la_fld_ShippingZip!"
size
=
"10"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_options"
prefix
=
"ord"
field
=
"ShippingCountry"
title
=
"!la_fld_ShippingCountry!"
size
=
"20"
/>
<
inp2:m_block
name
=
"order_option"
/>
<
input
onclick
=
"submit_event('ord','OnQuietPreSave');"
class
=
"simple"
type
=
"radio"
<
inp2:m_param
name
=
"checked"
/>
name="
<
inp2:_InputName
field
=
"
$
fi
eld"
/>
" id="
<
inp2:_InputName
field
=
"
$
fi
eld"
/>
_
<
inp2:m_param
name
=
"key"
/>
" value="
<
inp2:m_param
name
=
"key"
/>
">
<
label
for
=
"<inp2:_InputName field="
$
fi
eld
"
/>
_
<
inp2:m_param
name
=
"key"
/>
">
<
inp2:m_phrase
label
=
"
$
option"
/></
label
>
<
br
>
<
inp2:m_blockend
/>
<!-- <inp2:m_ParseBlock name="inp_edit_radio" prefix="ord" field="ShippingOption" title="!la_fld_ShippingOption!" size="20" /> -->
<
inp2:m_block
name
=
"order_shipping_type"
/>
<
option
<
inp2:m_param
name
=
"selected"
/>
value="
<
inp2:m_param
name
=
"ShippingId"
/>
">
<
inp2:m_param
name
=
"ShippingName"
/>
(
<
inp2:m_param
name
=
"TotalCost"
/>
)
<
inp2:m_blockend
/>
<
inp2:m_block
name
=
"order_shipment"
/>
<
tr
class
=
"<inp2:m_odd_even var="
shipping_odd_even
"
odd
=
"table_color1"
even
=
"table_color2"
/>
">
<
td
style
=
"border-right: 1px solid black"
><
inp2:m_param
name
=
"shipment"
/></
td
>
<
td
>
<
select
style
=
"width:230px;"
name
=
"<inp2:m_param name="
field_name
"
/>
" id="
<
inp2:m_param
name
=
"field_name"
/>
">
<
inp2:ord_PrintShippingTypes
block
=
"order_shipping_type"
/>
</
select
>
</
td
>
</
tr
>
<
inp2:m_blockend
/>
<
tr
class
=
"<inp2:m_odd_even odd="
table_color1
"
even
=
"table_color2"
/>
">
<
td
class
=
"text"
valign
=
"top"
>
<
inp2:m_Phrase
label
=
"la_fld_ShippingOptions"
/>
</
td
>
<
td
colspan
=
"2"
>
<
inp2:ord_PredefinedOptions
field
=
"ShippingOption"
block
=
"order_option"
selected
=
"checked"
/>
</
td
>
</
tr
>
<
tr
class
=
"<inp2:m_odd_even odd="
table_color1
"
even
=
"table_color2"
/>
">
<
td
class
=
"text"
valign
=
"top"
>
<
inp2:m_Phrase
label
=
"la_fld_ShippingType"
/>
</
td
>
<
td
colspan
=
"2"
>
<
table
border
=
"0"
cellspacing
=
"1"
cellpadding
=
"3"
width
=
"100%"
style
=
"border: 1px solid black; border-collapse: collapse"
>
<
tr
class
=
"subsectiontitle"
style
=
"border-bottom: 1px solid black"
>
<
td
width
=
"25%"
style
=
"border-right: 1px solid black"
><
b
><
inp2:m_Phrase
label
=
"lu_ship_Shipment"
/></
b
></
td
>
<
td
width
=
"45%"
style
=
"border-right: 1px solid black"
><
b
><
inp2:m_Phrase
label
=
"lu_ship_ShippingType"
/></
b
></
td
>
</
tr
>
<
inp2:ord_PrintShippings
block
=
"order_shipment"
/>
</
table
>
</
td
>
</
tr
>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingCost"
title
=
"!la_fld_ShippingCost!"
size
=
"10"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingCustomerAccount"
title
=
"!la_fld_ShippingCustomerAccount!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingTracking"
title
=
"!la_fld_ShippingTracking!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_date_time"
prefix
=
"ord"
field
=
"ShippingDate"
title
=
"!la_fld_ShippingDate!"
size
=
"16"
/>
<
inp2:m_else
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingTo"
title
=
"!la_fld_ShippingTo!"
size
=
"40"
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingCompany"
title
=
"!la_fld_ShippingCompany!"
size
=
"40"
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingPhone"
title
=
"!la_fld_ShippingPhone!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingFax"
title
=
"!la_fld_ShippingFax!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingEmail"
title
=
"!la_fld_ShippingEmail!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingAddress1"
title
=
"!la_fld_ShippingAddress1!"
size
=
"40"
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingAddress2"
title
=
"!la_fld_ShippingAddress2!"
size
=
"40"
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingCity"
title
=
"!la_fld_ShippingCity!"
size
=
"20"
/>
<
script
type
=
"text/javascript"
>
function
update_address
()
{
submit_event
(
'ord'
,
'OnQuietPreSave'
);
}
</
script
>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingCountry"
title
=
"!la_fld_ShippingCountry!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingState"
title
=
"!la_fld_ShippingState!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingZip"
title
=
"!la_fld_ShippingZip!"
size
=
"10"
/>
<
inp2:m_block
name
=
"order_option_label"
/>
<
inp2:m_param
name
=
"key"
/>
<
inp2:m_phrase
label
=
"
$
option"
/>
<
inp2:m_blockend
/>
<!--inp2:m_ParseBlock name="inp_edit_radio" prefix="ord" field="ShippingOption" title="!la_fld_ShippingOption!" size="20"/-->
<
inp2:m_block
name
=
"order_shipping_type"
/>
<
option
<
inp2:m_param
name
=
"selected"
/>
value="
<
inp2:m_param
name
=
"ShippingId"
/>
">
<
inp2:m_param
name
=
"ShippingName"
/>
(
<
inp2:m_param
name
=
"TotalCost"
/>
)
<
inp2:m_blockend
/>
<
inp2:m_block
name
=
"order_shipment_label"
/>
<
inp2:m_param
name
=
"shipment"
/>
-
<
inp2:ord_PrintShippingTypes
block
=
"order_shipping_type"
selected_only
=
"1"
/>
<
inp2:m_blockend
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingOption"
title
=
"!la_fld_ShippingOptions!"
size
=
"10"
/>
<
tr
class
=
"<inp2:m_odd_even odd="
table_color1
"
even
=
"table_color2"
/>
">
<
td
class
=
"text"
valign
=
"top"
>
<
inp2:m_Phrase
label
=
"la_fld_ShippingType"
/>
:
</
td
>
<
td
colspan
=
"2"
>
<
inp2:ord_PrintShippings
block
=
"order_shipment_label"
/>
</
td
>
</
tr
>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingCost"
title
=
"!la_fld_ShippingCost!"
size
=
"10"
format
=
"
$
%.2f"
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingCustomerAccount"
title
=
"!la_fld_ShippingCustomerAccount!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_edit_box"
prefix
=
"ord"
field
=
"ShippingTracking"
title
=
"!la_fld_ShippingTracking!"
size
=
"20"
/>
<
inp2:m_ParseBlock
name
=
"inp_label"
prefix
=
"ord"
field
=
"ShippingDate"
title
=
"!la_fld_ShippingDate!"
size
=
"16"
/>
</
inp2
>
</
table
>
<
input
type
=
"hidden"
name
=
"to_tab"
value
=
"Shipping"
>
<
input
type
=
"hidden"
name
=
"check_shipping_address"
value
=
"true"
/>
<
inp2:m_include
t
=
"incs/footer"
/>
Event Timeline
Log In to Comment