diff --git a/specialpurpose/ecommerce/webapp/ecommerce/order/orderhistory.ftl b/specialpurpose/ecommerce/webapp/ecommerce/order/orderhistory.ftl index f6e6ddaa64..ec58a905c8 100644 --- a/specialpurpose/ecommerce/webapp/ecommerce/order/orderhistory.ftl +++ b/specialpurpose/ecommerce/webapp/ecommerce/order/orderhistory.ftl @@ -16,186 +16,107 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - +
|
- ${uiLabelMap.CommonDate}
- |
- - |
- ${uiLabelMap.OrderOrder} ${uiLabelMap.CommonNbr}
- |
- - |
- ${uiLabelMap.CommonAmount}
- |
- - |
- ${uiLabelMap.CommonStatus}
- |
- - |
- ${uiLabelMap.OrderInvoices}
- |
- ||||||||
|
- ${orderHeader.orderDate.toString()}
- |
- - |
- ${orderHeader.orderId}
- |
- - |
- <@ofbizCurrency amount=orderHeader.grandTotal isoCode=orderHeader.currencyUom/>
- |
- - |
- ${status.get("description",locale)}
- |
- <#-- invoices -->
- - <#assign invoices = delegator.findByAnd("OrderItemBilling", Static["org.ofbiz.base.util.UtilMisc"].toMap("orderId", "${orderHeader.orderId}"), Static["org.ofbiz.base.util.UtilMisc"].toList("invoiceId"))> - <#if invoices?has_content> - | - <#list invoices as invoice> - (${invoice.invoiceId} PDF) - #list> - | - <#else> -- #if> - | - ${uiLabelMap.CommonView} - | +${uiLabelMap.CommonDate} | +${uiLabelMap.OrderOrder} ${uiLabelMap.CommonNbr} | +${uiLabelMap.CommonAmount} | +${uiLabelMap.CommonStatus} | +${uiLabelMap.OrderInvoices} | +|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
${uiLabelMap.OrderNoOrderFound} | ||||||||||||||||
| ${orderHeader.orderDate.toString()} | +${orderHeader.orderId} | +<@ofbizCurrency amount=orderHeader.grandTotal isoCode=orderHeader.currencyUom /> | +${status.get("description",locale)} | + <#-- invoices --> + <#assign invoices = delegator.findByAnd("OrderItemBilling", Static["org.ofbiz.base.util.UtilMisc"].toMap("orderId", "${orderHeader.orderId}"), Static["org.ofbiz.base.util.UtilMisc"].toList("invoiceId")) /> + <#if invoices?has_content> ++ <#list invoices as invoice> + (${invoice.invoiceId} PDF) + #list> + | + <#else> ++ #if> + | ${uiLabelMap.CommonView} | +||||||||||
| ${uiLabelMap.OrderNoOrderFound} | ||||||||||||||||
|
- ${uiLabelMap.CommonDate}
- |
- - |
- ${uiLabelMap.OrderOrder} ${uiLabelMap.CommonNbr}
- |
- - |
- ${uiLabelMap.CommonAmount}
- |
- - |
- ${uiLabelMap.CommonStatus}
- |
- - | - | |||||
| ${uiLabelMap.CommonDate} | +${uiLabelMap.OrderOrder} ${uiLabelMap.CommonNbr} | +${uiLabelMap.CommonAmount} | +${uiLabelMap.CommonStatus} | ++ | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
- ${porderHeader.orderDate.toString()}
- |
- - |
- ${porderHeader.orderId}
- |
- - |
- <@ofbizCurrency amount=porderHeader.grandTotal isoCode=porderHeader.currencyUom/>
- |
- - |
- ${pstatus.get("description",locale)}
- |
- - | - ${uiLabelMap.CommonView} - | +${porderHeader.orderDate.toString()} | +${porderHeader.orderId} | +<@ofbizCurrency amount=porderHeader.grandTotal isoCode=porderHeader.currencyUom /> | +${pstatus.get("description",locale)} | +${uiLabelMap.CommonView} |
${uiLabelMap.OrderNoOrderFound} | |||||||||||||
| ${uiLabelMap.OrderNoOrderFound} | |||||||||||||
|
- ${uiLabelMap.OrderOrder} ${uiLabelMap.CommonNbr}
- |
- - |
- ${uiLabelMap.ProductProductName}
- |
- - |
- ${uiLabelMap.CommonName}
- |
- - |
- ${uiLabelMap.CommonDescription}
- |
- - | + | ${uiLabelMap.OrderOrder} ${uiLabelMap.CommonNbr} | +${uiLabelMap.ProductProductName} | +${uiLabelMap.CommonName} | +${uiLabelMap.CommonDescription} | +|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ${downloadOrderRoleAndProductContentInfo.orderId} | +${downloadOrderRoleAndProductContentInfo.productName} | +${downloadOrderRoleAndProductContentInfo.contentName?if_exists} | +${downloadOrderRoleAndProductContentInfo.description?if_exists} |
- ${downloadOrderRoleAndProductContentInfo.orderId}
- |
- - |
- ${downloadOrderRoleAndProductContentInfo.productName}
- |
- - |
- ${downloadOrderRoleAndProductContentInfo.contentName?if_exists}
- |
- - |
- ${downloadOrderRoleAndProductContentInfo.description?if_exists}
- |
- - | - Download + Download | |
${uiLabelMap.EcommerceDownloadNotFound} | |||||||||||||
| ${uiLabelMap.EcommerceDownloadNotFound} | |||||||||||||