{loop type="auth" name="can_change" role="ADMIN" resource="admin.customer" access="UPDATE"}
-
+
{/loop}
{loop type="auth" name="can_send_mail" role="ADMIN" resource="admin.customer" access="VIEW"}
@@ -111,10 +173,10 @@
|
-
+
-
+
|
@@ -163,7 +225,7 @@
{form_field form=$form field='success_url'}
{* on success, redirect to the edition page, _ID_ is replaced with the created object ID, see controller *}
-
+
{/form_field}
{form_field form=$form field="password"}
@@ -283,7 +345,7 @@
{* Delete confirmation dialog *}
{capture "delete_customer_dialog"}
-
+
{/capture}
diff --git a/templates/admin/default/includes/customer_address_form_fields.html b/templates/admin/default/includes/customer_address_form_fields.html
new file mode 100644
index 000000000..5b7bba9d3
--- /dev/null
+++ b/templates/admin/default/includes/customer_address_form_fields.html
@@ -0,0 +1,123 @@
+{* Customer address creation / modification fields, used in the customer-edit.html template *}
+
+{form_hidden_fields form=$form}
+
+
+
+
+{form_field form=$form field='success_url'}
+
+{/form_field}
+
+{form_field form=$form field='label'}
+
+
+
+
+{/form_field}
+
+{form_field form=$form field='company'}
+
+
+
+
+{/form_field}
+
+{form_field form=$form field='title'}
+
+
+
+
+
+{/form_field}
+
+
+
+ {form_field form=$form field='firstname'}
+
+
+
+
+ {/form_field}
+
+
+ {form_field form=$form field='lastname'}
+
+
+
+
+ {/form_field}
+
+
+
+{form_field form=$form field='address1'}
+
+
+
+
+
+
+ {form_field form=$form field='address2'}
+
+ {/form_field}
+
+
+
+ {form_field form=$form field='address3'}
+
+ {/form_field}
+
+{/form_field}
+
+
+
+ {form_field form=$form field='zipcode'}
+
+
+
+
+ {/form_field}
+
+
+ {form_field form=$form field='city'}
+
+
+
+
+ {/form_field}
+
+
+
+{form_field form=$form field='country'}
+
+
+
+
+{/form_field}
+
+
+
+ {form_field form=$form field='phone'}
+
+
+
+
+ {/form_field}
+
+
+ {form_field form=$form field='cellphone'}
+
+
+
+
+ {/form_field}
+
+
\ No newline at end of file
diff --git a/templates/admin/default/includes/module-block.html b/templates/admin/default/includes/module-block.html
index f11be5331..1cfdec3c2 100644
--- a/templates/admin/default/includes/module-block.html
+++ b/templates/admin/default/includes/module-block.html
@@ -39,15 +39,22 @@
-{* {loop type="auth" name="can_change" role="ADMIN" resource="admin.modules" access="VIEW"}
-
- {/loop}*}
- {loop type="auth" name="can_change" role="ADMIN" resource="admin.modules" access="UPDATE"}
+
+
+ {loop type="auth" name="can_change" role="ADMIN" module=$CODE access="VIEW"}
+ {intl l="Configure"}
+ {/loop}
+
+ {*loop type="auth" name="can_change" role="ADMIN" resource="admin.modules" access="VIEW"}
+
+ {/loop*}
+
+ {loop type="auth" name="can_change" role="ADMIN" resource="admin.module" access="UPDATE"}
{/loop}
- {loop type="auth" name="can_delete" role="ADMIN" resource="admin.modules" access="DELETE"}
+ {loop type="auth" name="can_delete" role="ADMIN" resource="admin.module" access="DELETE"}
{/loop}
diff --git a/templates/admin/default/orders.html b/templates/admin/default/orders.html
index d237d228a..6299341a7 100644
--- a/templates/admin/default/orders.html
+++ b/templates/admin/default/orders.html
@@ -65,7 +65,7 @@
| {$REF} |
{format_date date=$CREATE_DATE} |
{$orderInvoiceCompany} |
-
{$orderInvoiceFirstName|ucwords} {$orderInvoiceLastName|upper} |
+
{$orderInvoiceFirstName|ucwords} {$orderInvoiceLastName|upper} |
{$TOTAL_TAXED_AMOUNT} |
{$orderStatus} |
@@ -122,7 +122,7 @@
{/ifloop}
-
+
diff --git a/templates/admin/default/search.html b/templates/admin/default/search.html
index a39eda982..d96558ea9 100644
--- a/templates/admin/default/search.html
+++ b/templates/admin/default/search.html
@@ -9,7 +9,7 @@