diff --git a/admin-dev/themes/template/orders/view.tpl b/admin-dev/themes/template/orders/view.tpl index 118161dec..341a68352 100755 --- a/admin-dev/themes/template/orders/view.tpl +++ b/admin-dev/themes/template/orders/view.tpl @@ -245,9 +245,9 @@ {*if TYPE DOCUMENT = INVOICE *} {if $document->getRestPaid()} - {l s='Set payment form'} + {l s='Set payment form'} {/if} - {l s='Edit note'} + {if $document->note eq ''}{l s='Add note'}{else}{l s='Edit note'}{/if}note eq ''} class="js-disabled-action"{/if} /> {*/if*} @@ -258,7 +258,7 @@

- +

@@ -283,7 +283,7 @@

- {l s='Payment'} + {l s='Payment'} {if !$order->valid}
diff --git a/css/admin.css b/css/admin.css index 9fba2052d..f27e2e846 100644 --- a/css/admin.css +++ b/css/admin.css @@ -2017,4 +2017,6 @@ div#scrollTop a:hover{ .category-filter #filternameForm { float:left; margin-left:10px; color:#585A69;} -.current-edit { background-color: rgb(232, 237, 194); } \ No newline at end of file +.current-edit { background-color: rgb(232, 237, 194); } + +.edit-note { width: 98%; height: 100px; } \ No newline at end of file diff --git a/img/admin/note.png b/img/admin/note.png new file mode 100755 index 000000000..244e6ca04 Binary files /dev/null and b/img/admin/note.png differ diff --git a/js/admin_order.js b/js/admin_order.js index 443780297..d69072196 100644 --- a/js/admin_order.js +++ b/js/admin_order.js @@ -488,7 +488,9 @@ $(document).ready(function() { $.scrollTo('#formAddPayment', 1000, {offset: -100}); return false; - }) + }); + + $('img.js-disabled-action').css({"opacity":0.5}); }); function addProductRefreshTotal()