From cbaa95ebda5cfa03a31bd3c9018df1644c41db83 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Sun, 13 Dec 2020 13:54:17 +0100 Subject: [PATCH 01/19] item module refactors --- modules/item/front/barcode/index.html | 5 ++++- modules/item/front/basic-data/index.html | 7 +++++-- modules/item/front/botanical/index.html | 5 ++++- modules/item/front/create/index.html | 1 + modules/item/front/niche/index.html | 5 ++++- modules/item/front/tags/index.html | 5 ++++- modules/item/front/tax/index.html | 12 ++++++++++-- 7 files changed, 32 insertions(+), 8 deletions(-) diff --git a/modules/item/front/barcode/index.html b/modules/item/front/barcode/index.html index ade4c2f7d..3815115d8 100644 --- a/modules/item/front/barcode/index.html +++ b/modules/item/front/barcode/index.html @@ -42,6 +42,9 @@ - + + diff --git a/modules/item/front/basic-data/index.html b/modules/item/front/basic-data/index.html index 0a40328b1..586b6eaba 100644 --- a/modules/item/front/basic-data/index.html +++ b/modules/item/front/basic-data/index.html @@ -158,8 +158,11 @@ - - + + + diff --git a/modules/item/front/botanical/index.html b/modules/item/front/botanical/index.html index 135a55e6f..283132baa 100644 --- a/modules/item/front/botanical/index.html +++ b/modules/item/front/botanical/index.html @@ -45,7 +45,10 @@ - + + - + + \ No newline at end of file diff --git a/modules/item/front/tags/index.html b/modules/item/front/tags/index.html index d773e8ee4..b03c4bdc4 100644 --- a/modules/item/front/tags/index.html +++ b/modules/item/front/tags/index.html @@ -73,6 +73,9 @@ - + + \ No newline at end of file diff --git a/modules/item/front/tax/index.html b/modules/item/front/tax/index.html index 39feaa13d..0abb70f28 100644 --- a/modules/item/front/tax/index.html +++ b/modules/item/front/tax/index.html @@ -28,7 +28,15 @@ - - + + + + \ No newline at end of file From c0289f87e9aa83718bb6fa47f341975620be590e Mon Sep 17 00:00:00 2001 From: carlosjr Date: Sun, 13 Dec 2020 13:55:54 +0100 Subject: [PATCH 02/19] order module refactors --- modules/order/front/basic-data/index.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/order/front/basic-data/index.html b/modules/order/front/basic-data/index.html index 63fb5c1b9..9dc7973e7 100644 --- a/modules/order/front/basic-data/index.html +++ b/modules/order/front/basic-data/index.html @@ -66,7 +66,14 @@ - - + + + + From 3ad6534160c29338d746f0d1b3ca0558f0614ba8 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Sun, 13 Dec 2020 14:57:42 +0100 Subject: [PATCH 03/19] client module refactors --- modules/client/front/basic-data/index.html | 11 +++++++++-- modules/client/front/billing-data/index.html | 11 +++++++++-- modules/client/front/contact/index.html | 5 ++++- .../front/credit-insurance/create/index.html | 16 ++++++++++++++-- modules/client/front/credit/create/index.html | 10 ++++++++-- modules/client/front/fiscal-data/index.html | 11 +++++++++-- modules/client/front/greuge/create/index.html | 10 ++++++++-- modules/client/front/note/create/index.html | 12 +++++++++--- modules/client/front/recovery/create/index.html | 10 ++++++++-- modules/client/front/sample/create/index.html | 13 ++++++++++--- modules/client/front/web-access/index.html | 17 ++++++++++++++--- 11 files changed, 102 insertions(+), 24 deletions(-) diff --git a/modules/client/front/basic-data/index.html b/modules/client/front/basic-data/index.html index 07b24db89..e47798bbb 100644 --- a/modules/client/front/basic-data/index.html +++ b/modules/client/front/basic-data/index.html @@ -71,7 +71,14 @@ - - + + + + diff --git a/modules/client/front/billing-data/index.html b/modules/client/front/billing-data/index.html index 0e61f4d16..9871c9aa8 100644 --- a/modules/client/front/billing-data/index.html +++ b/modules/client/front/billing-data/index.html @@ -95,8 +95,15 @@ - - + + + + diff --git a/modules/client/front/contact/index.html b/modules/client/front/contact/index.html index 664a59567..f1d7dbbd9 100644 --- a/modules/client/front/contact/index.html +++ b/modules/client/front/contact/index.html @@ -46,6 +46,9 @@ - + + \ No newline at end of file diff --git a/modules/client/front/credit-insurance/create/index.html b/modules/client/front/credit-insurance/create/index.html index d1dc081b7..34ded289b 100644 --- a/modules/client/front/credit-insurance/create/index.html +++ b/modules/client/front/credit-insurance/create/index.html @@ -1,3 +1,9 @@ + +
@@ -25,7 +31,13 @@ - - + + + +
diff --git a/modules/client/front/credit/create/index.html b/modules/client/front/credit/create/index.html index e3160a2ae..13ba434d0 100644 --- a/modules/client/front/credit/create/index.html +++ b/modules/client/front/credit/create/index.html @@ -19,8 +19,14 @@ - - + + + + - - + + + + - - + + + + \ No newline at end of file diff --git a/modules/client/front/note/create/index.html b/modules/client/front/note/create/index.html index aba03aafb..ca61c74b3 100644 --- a/modules/client/front/note/create/index.html +++ b/modules/client/front/note/create/index.html @@ -17,8 +17,14 @@ - - - + + + + + \ No newline at end of file diff --git a/modules/client/front/recovery/create/index.html b/modules/client/front/recovery/create/index.html index 7747bb4d7..8b4942494 100644 --- a/modules/client/front/recovery/create/index.html +++ b/modules/client/front/recovery/create/index.html @@ -32,7 +32,13 @@ - - + + + + diff --git a/modules/client/front/sample/create/index.html b/modules/client/front/sample/create/index.html index d8bd4712a..fe2edfc52 100644 --- a/modules/client/front/sample/create/index.html +++ b/modules/client/front/sample/create/index.html @@ -53,12 +53,19 @@ - - + + - + + - - - + + + + + + Date: Mon, 14 Dec 2020 17:35:32 +0100 Subject: [PATCH 04/19] entry module refactors --- modules/entry/front/basic-data/index.html | 11 +++++++++-- modules/entry/front/create/index.html | 10 ++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/modules/entry/front/basic-data/index.html b/modules/entry/front/basic-data/index.html index 475afdfd4..b776cb281 100644 --- a/modules/entry/front/basic-data/index.html +++ b/modules/entry/front/basic-data/index.html @@ -110,7 +110,14 @@ - - + + + + \ No newline at end of file diff --git a/modules/entry/front/create/index.html b/modules/entry/front/create/index.html index 0662615ae..aa919fe21 100644 --- a/modules/entry/front/create/index.html +++ b/modules/entry/front/create/index.html @@ -50,7 +50,13 @@ - - + + + + From 1ba83e7741a29ef63a226c17d55dc6094d35924f Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 15 Dec 2020 16:07:34 +0100 Subject: [PATCH 05/19] cancel button css + item module refactor --- front/core/components/button/style.scss | 17 +++++++++++++++++ modules/item/front/barcode/index.html | 9 ++++++++- modules/item/front/basic-data/index.html | 9 +++++++-- modules/item/front/botanical/index.html | 10 ++++++---- modules/item/front/create/index.html | 3 ++- modules/item/front/niche/index.html | 9 ++++++++- modules/item/front/tags/index.html | 2 +- modules/item/front/tax/index.html | 5 +++-- 8 files changed, 52 insertions(+), 12 deletions(-) diff --git a/front/core/components/button/style.scss b/front/core/components/button/style.scss index 67c9b404f..a3fc386e2 100644 --- a/front/core/components/button/style.scss +++ b/front/core/components/button/style.scss @@ -76,6 +76,13 @@ &:hover, &:focus { outline: none; + + &.cancel { + &:hover, + &:focus { + background-color: transparent; + } + } } &.round { border-radius: 50%; @@ -106,4 +113,14 @@ opacity: .7; cursor: initial; } + &.cancel { + color: $color-button; + background-color: transparent; + box-shadow: none; + &:not(.disabled) { + &:hover { + color: lighten($color-button, 10%); + } + } + } } diff --git a/modules/item/front/barcode/index.html b/modules/item/front/barcode/index.html index 3815115d8..8d6cb3af8 100644 --- a/modules/item/front/barcode/index.html +++ b/modules/item/front/barcode/index.html @@ -43,8 +43,15 @@ + + diff --git a/modules/item/front/basic-data/index.html b/modules/item/front/basic-data/index.html index 586b6eaba..3f049675c 100644 --- a/modules/item/front/basic-data/index.html +++ b/modules/item/front/basic-data/index.html @@ -159,10 +159,15 @@ - + + diff --git a/modules/item/front/botanical/index.html b/modules/item/front/botanical/index.html index 283132baa..052e7d9e4 100644 --- a/modules/item/front/botanical/index.html +++ b/modules/item/front/botanical/index.html @@ -46,13 +46,15 @@ - + \ No newline at end of file diff --git a/modules/item/front/create/index.html b/modules/item/front/create/index.html index a0a788a1c..6deaab1cd 100644 --- a/modules/item/front/create/index.html +++ b/modules/item/front/create/index.html @@ -61,10 +61,11 @@ diff --git a/modules/item/front/niche/index.html b/modules/item/front/niche/index.html index c40b4f6f3..1c376b90e 100644 --- a/modules/item/front/niche/index.html +++ b/modules/item/front/niche/index.html @@ -58,8 +58,15 @@ + + \ No newline at end of file diff --git a/modules/item/front/tags/index.html b/modules/item/front/tags/index.html index b03c4bdc4..0dca863fd 100644 --- a/modules/item/front/tags/index.html +++ b/modules/item/front/tags/index.html @@ -74,7 +74,7 @@ diff --git a/modules/item/front/tax/index.html b/modules/item/front/tax/index.html index 0abb70f28..e993f974f 100644 --- a/modules/item/front/tax/index.html +++ b/modules/item/front/tax/index.html @@ -29,13 +29,14 @@ From 6f29dabec4180de4849ea68a3ab1feedd6b4a486 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 15 Dec 2020 16:16:02 +0100 Subject: [PATCH 06/19] order module refactor --- modules/order/front/basic-data/index.html | 5 +++-- modules/order/front/create/index.html | 9 ++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/modules/order/front/basic-data/index.html b/modules/order/front/basic-data/index.html index 9dc7973e7..7ad73e1be 100644 --- a/modules/order/front/basic-data/index.html +++ b/modules/order/front/basic-data/index.html @@ -67,12 +67,13 @@ diff --git a/modules/order/front/create/index.html b/modules/order/front/create/index.html index 11de7ff6c..86df579a6 100644 --- a/modules/order/front/create/index.html +++ b/modules/order/front/create/index.html @@ -3,7 +3,14 @@ - + + + \ No newline at end of file From eb19bce1ba3084a3ec346ec25427590af87ec9ef Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 15 Dec 2020 16:51:36 +0100 Subject: [PATCH 07/19] client module refactors + dialog css --- front/core/components/dialog/style.scss | 15 ++++++++++++++- modules/client/front/basic-data/index.html | 5 +++-- modules/client/front/billing-data/index.html | 5 +++-- modules/client/front/contact/index.html | 9 ++++++++- modules/client/front/create/index.html | 11 +++++++++-- .../front/credit-insurance/create/index.html | 7 ++++--- modules/client/front/dms/create/index.html | 11 +++++++++-- modules/client/front/fiscal-data/index.html | 5 +++-- modules/client/front/recovery/create/index.html | 9 +++++---- modules/client/front/sample/create/index.html | 9 +++++---- modules/client/front/web-access/index.html | 15 ++++++++------- 11 files changed, 71 insertions(+), 30 deletions(-) diff --git a/front/core/components/dialog/style.scss b/front/core/components/dialog/style.scss index 47837af7e..998c475e0 100644 --- a/front/core/components/dialog/style.scss +++ b/front/core/components/dialog/style.scss @@ -34,7 +34,6 @@ input[type="button"], input[type="submit"], input[type="reset"] { - @extend %clickable; text-transform: uppercase; background-color: transparent; border: none; @@ -44,6 +43,20 @@ padding: 11px; margin: -11px; margin-left: 11px; + + &:hover, + &:focus { + color: lighten($color-button, 10%); + } + } + button { + background-color: $color-button; + color: white; + &:hover, + &:focus { + background-color: lighten($color-button, 10%); + color: white; + } } } } diff --git a/modules/client/front/basic-data/index.html b/modules/client/front/basic-data/index.html index e47798bbb..6235ec923 100644 --- a/modules/client/front/basic-data/index.html +++ b/modules/client/front/basic-data/index.html @@ -72,12 +72,13 @@ diff --git a/modules/client/front/billing-data/index.html b/modules/client/front/billing-data/index.html index 9871c9aa8..b9c20ec24 100644 --- a/modules/client/front/billing-data/index.html +++ b/modules/client/front/billing-data/index.html @@ -96,12 +96,13 @@ diff --git a/modules/client/front/contact/index.html b/modules/client/front/contact/index.html index f1d7dbbd9..eab1f33ce 100644 --- a/modules/client/front/contact/index.html +++ b/modules/client/front/contact/index.html @@ -47,8 +47,15 @@ + + \ No newline at end of file diff --git a/modules/client/front/create/index.html b/modules/client/front/create/index.html index ce2ddc38b..d9759e347 100644 --- a/modules/client/front/create/index.html +++ b/modules/client/front/create/index.html @@ -125,8 +125,15 @@ - - + + + + diff --git a/modules/client/front/credit-insurance/create/index.html b/modules/client/front/credit-insurance/create/index.html index 34ded289b..6812b793a 100644 --- a/modules/client/front/credit-insurance/create/index.html +++ b/modules/client/front/credit-insurance/create/index.html @@ -32,12 +32,13 @@ + class="cancel" + label="Cancel" + ui-sref="client.card.creditInsurance.index">
diff --git a/modules/client/front/dms/create/index.html b/modules/client/front/dms/create/index.html index e585dc398..8f270378f 100644 --- a/modules/client/front/dms/create/index.html +++ b/modules/client/front/dms/create/index.html @@ -94,8 +94,15 @@ - - + + + + diff --git a/modules/client/front/fiscal-data/index.html b/modules/client/front/fiscal-data/index.html index 782a5d6f2..2b671c69a 100644 --- a/modules/client/front/fiscal-data/index.html +++ b/modules/client/front/fiscal-data/index.html @@ -203,12 +203,13 @@ diff --git a/modules/client/front/recovery/create/index.html b/modules/client/front/recovery/create/index.html index 8b4942494..3d4cc2e1e 100644 --- a/modules/client/front/recovery/create/index.html +++ b/modules/client/front/recovery/create/index.html @@ -33,12 +33,13 @@ - + diff --git a/modules/client/front/sample/create/index.html b/modules/client/front/sample/create/index.html index fe2edfc52..f941e885a 100644 --- a/modules/client/front/sample/create/index.html +++ b/modules/client/front/sample/create/index.html @@ -54,17 +54,18 @@ + class="cancel" + label="Cancel" + ui-sref="client.card.sample.index"> diff --git a/modules/client/front/web-access/index.html b/modules/client/front/web-access/index.html index 20060f329..07a2615dd 100644 --- a/modules/client/front/web-access/index.html +++ b/modules/client/front/web-access/index.html @@ -27,18 +27,19 @@ + ng-if="$ctrl.canChangePassword" + label="Change password" + vn-dialog="change-pass"> + class="cancel" + label="Undo changes" + disabled="!watcher.dataChanged()" + ng-click="watcher.loadOriginalData()"> From b071bfd22987a776f7dfccc4aaa16692a3b8259d Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 15 Dec 2020 16:53:56 +0100 Subject: [PATCH 08/19] entry module refactors --- modules/entry/front/basic-data/index.html | 5 +++-- modules/entry/front/create/index.html | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/entry/front/basic-data/index.html b/modules/entry/front/basic-data/index.html index b776cb281..4b7661a8f 100644 --- a/modules/entry/front/basic-data/index.html +++ b/modules/entry/front/basic-data/index.html @@ -111,12 +111,13 @@ diff --git a/modules/entry/front/create/index.html b/modules/entry/front/create/index.html index aa919fe21..ed08b5c76 100644 --- a/modules/entry/front/create/index.html +++ b/modules/entry/front/create/index.html @@ -51,12 +51,13 @@ + class="cancel" + label="Cancel" + ui-sref="entry.index">
From 975e5c3b007981af956d2655e2b1d9cda648274c Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 15 Dec 2020 17:05:15 +0100 Subject: [PATCH 09/19] travel module refactors --- modules/travel/front/basic-data/index.html | 12 ++++++++++-- modules/travel/front/create/index.html | 11 +++++++++-- modules/travel/front/thermograph/create/index.html | 11 +++++++++-- 3 files changed, 28 insertions(+), 6 deletions(-) diff --git a/modules/travel/front/basic-data/index.html b/modules/travel/front/basic-data/index.html index 7e12949fd..e7143ffc0 100644 --- a/modules/travel/front/basic-data/index.html +++ b/modules/travel/front/basic-data/index.html @@ -72,7 +72,15 @@ - - + + + + diff --git a/modules/travel/front/create/index.html b/modules/travel/front/create/index.html index 652d2fbb9..1400ef6d7 100644 --- a/modules/travel/front/create/index.html +++ b/modules/travel/front/create/index.html @@ -42,7 +42,14 @@ - - + + + + diff --git a/modules/travel/front/thermograph/create/index.html b/modules/travel/front/thermograph/create/index.html index c965c9867..a183390c0 100644 --- a/modules/travel/front/thermograph/create/index.html +++ b/modules/travel/front/thermograph/create/index.html @@ -109,8 +109,15 @@ - - + + + + From 5295d3ed064c9c81b752ce1f58c44cd0acc0c483 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 15 Dec 2020 17:09:05 +0100 Subject: [PATCH 10/19] supplier module refactors --- modules/supplier/front/basic-data/index.html | 12 ++++++++++-- modules/supplier/front/contact/index.html | 12 +++++++++++- modules/supplier/front/fiscal-data/index.html | 12 ++++++++++-- 3 files changed, 31 insertions(+), 5 deletions(-) diff --git a/modules/supplier/front/basic-data/index.html b/modules/supplier/front/basic-data/index.html index a39f07da2..72accfb5f 100644 --- a/modules/supplier/front/basic-data/index.html +++ b/modules/supplier/front/basic-data/index.html @@ -36,7 +36,15 @@ - - + + + + \ No newline at end of file diff --git a/modules/supplier/front/contact/index.html b/modules/supplier/front/contact/index.html index 1df85cb4a..be0b2b2aa 100644 --- a/modules/supplier/front/contact/index.html +++ b/modules/supplier/front/contact/index.html @@ -69,6 +69,16 @@ - + + + + \ No newline at end of file diff --git a/modules/supplier/front/fiscal-data/index.html b/modules/supplier/front/fiscal-data/index.html index a17a47319..804be9784 100644 --- a/modules/supplier/front/fiscal-data/index.html +++ b/modules/supplier/front/fiscal-data/index.html @@ -163,8 +163,16 @@ - - + + + + From 116730a3b2942e9b794b8098c79e660a7161498a Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 15 Dec 2020 17:24:13 +0100 Subject: [PATCH 11/19] claim module refactors --- modules/claim/front/basic-data/index.html | 11 ++++++++--- modules/claim/front/development/index.html | 14 +++++++++++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/modules/claim/front/basic-data/index.html b/modules/claim/front/basic-data/index.html index d2338bcc3..eb3c3b9e3 100644 --- a/modules/claim/front/basic-data/index.html +++ b/modules/claim/front/basic-data/index.html @@ -62,9 +62,14 @@ - - + + diff --git a/modules/claim/front/development/index.html b/modules/claim/front/development/index.html index 3a78e6374..f274104b0 100644 --- a/modules/claim/front/development/index.html +++ b/modules/claim/front/development/index.html @@ -105,9 +105,17 @@ - + + + \ No newline at end of file From 0258c4a276c6ed79c060edea4edb8003e262cd32 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Wed, 16 Dec 2020 10:21:20 +0100 Subject: [PATCH 12/19] ticket module refactors --- modules/ticket/front/create/index.html | 9 ++++++++- modules/ticket/front/dms/create/index.html | 11 +++++++++-- modules/ticket/front/note/index.html | 12 +++++++++++- modules/ticket/front/package/index.html | 12 +++++++++++- modules/ticket/front/request/create/index.html | 11 +++++++++-- modules/ticket/front/services/index.html | 12 +++++++++++- modules/ticket/front/tracking/edit/index.html | 11 +++++++++-- 7 files changed, 68 insertions(+), 10 deletions(-) diff --git a/modules/ticket/front/create/index.html b/modules/ticket/front/create/index.html index 3ec562752..b1e73b34a 100644 --- a/modules/ticket/front/create/index.html +++ b/modules/ticket/front/create/index.html @@ -3,7 +3,14 @@ - + + + \ No newline at end of file diff --git a/modules/ticket/front/dms/create/index.html b/modules/ticket/front/dms/create/index.html index 54758aa83..a616ddaf8 100644 --- a/modules/ticket/front/dms/create/index.html +++ b/modules/ticket/front/dms/create/index.html @@ -92,8 +92,15 @@ - - + + + + diff --git a/modules/ticket/front/note/index.html b/modules/ticket/front/note/index.html index 32d93c630..790e9581d 100644 --- a/modules/ticket/front/note/index.html +++ b/modules/ticket/front/note/index.html @@ -57,6 +57,16 @@ - + + + + \ No newline at end of file diff --git a/modules/ticket/front/package/index.html b/modules/ticket/front/package/index.html index 84d79fce3..c5d83edfb 100644 --- a/modules/ticket/front/package/index.html +++ b/modules/ticket/front/package/index.html @@ -56,6 +56,16 @@ - + + + + \ No newline at end of file diff --git a/modules/ticket/front/request/create/index.html b/modules/ticket/front/request/create/index.html index 7dafbd801..755e8cb51 100644 --- a/modules/ticket/front/request/create/index.html +++ b/modules/ticket/front/request/create/index.html @@ -41,8 +41,15 @@ - - + + + + diff --git a/modules/ticket/front/services/index.html b/modules/ticket/front/services/index.html index 8f574a7fe..9fc9e5a31 100644 --- a/modules/ticket/front/services/index.html +++ b/modules/ticket/front/services/index.html @@ -71,7 +71,17 @@ - + + + + diff --git a/modules/ticket/front/tracking/edit/index.html b/modules/ticket/front/tracking/edit/index.html index 6e9793708..36362f1ea 100644 --- a/modules/ticket/front/tracking/edit/index.html +++ b/modules/ticket/front/tracking/edit/index.html @@ -33,7 +33,14 @@ - - + + + + \ No newline at end of file From 2e9267a25efd1b123c3c434ade92d521549813a1 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Wed, 16 Dec 2020 10:21:35 +0100 Subject: [PATCH 13/19] route module refactors --- modules/route/front/basic-data/index.html | 12 ++++++++++-- modules/route/front/create/index.html | 11 +++++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/modules/route/front/basic-data/index.html b/modules/route/front/basic-data/index.html index 4f05680ed..0a1734ff2 100644 --- a/modules/route/front/basic-data/index.html +++ b/modules/route/front/basic-data/index.html @@ -80,7 +80,15 @@ - - + + + + diff --git a/modules/route/front/create/index.html b/modules/route/front/create/index.html index 0956297cc..754bed9f4 100644 --- a/modules/route/front/create/index.html +++ b/modules/route/front/create/index.html @@ -43,7 +43,14 @@ - - + + + + From e9f73c329960c4e95da33ff82ac9aafe6ac27e0b Mon Sep 17 00:00:00 2001 From: carlosjr Date: Wed, 16 Dec 2020 10:32:32 +0100 Subject: [PATCH 14/19] worker module refactors --- modules/worker/front/basic-data/index.html | 12 ++++++++++-- modules/worker/front/dms/create/index.html | 10 ++++++++-- modules/worker/front/pbx/index.html | 8 ++++++-- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/modules/worker/front/basic-data/index.html b/modules/worker/front/basic-data/index.html index bdc309c00..a2cbbc637 100644 --- a/modules/worker/front/basic-data/index.html +++ b/modules/worker/front/basic-data/index.html @@ -33,7 +33,15 @@ - - + + + + diff --git a/modules/worker/front/dms/create/index.html b/modules/worker/front/dms/create/index.html index dcafa5986..3495bf260 100644 --- a/modules/worker/front/dms/create/index.html +++ b/modules/worker/front/dms/create/index.html @@ -76,8 +76,14 @@ - - + + + + diff --git a/modules/worker/front/pbx/index.html b/modules/worker/front/pbx/index.html index 5118d38ed..e1ca61a4a 100644 --- a/modules/worker/front/pbx/index.html +++ b/modules/worker/front/pbx/index.html @@ -14,10 +14,14 @@ - + + From 2a63a3b0a4b24547b606b634e9e540da9f725b2c Mon Sep 17 00:00:00 2001 From: carlosjr Date: Wed, 16 Dec 2020 11:07:06 +0100 Subject: [PATCH 15/19] account or user module refactors --- modules/account/front/accounts/index.html | 27 +++++++++---------- modules/account/front/acl/create/index.html | 17 +++++++----- modules/account/front/alias/create/index.html | 17 +++++++----- modules/account/front/create/index.html | 16 ++++++----- modules/account/front/ldap/index.html | 13 +++++---- modules/account/front/role/create/index.html | 17 +++++++----- modules/account/front/samba/index.html | 15 +++++------ 7 files changed, 69 insertions(+), 53 deletions(-) diff --git a/modules/account/front/accounts/index.html b/modules/account/front/accounts/index.html index 692624fa5..195607fd1 100644 --- a/modules/account/front/accounts/index.html +++ b/modules/account/front/accounts/index.html @@ -53,33 +53,32 @@ + + - - + + - - - - + + + + + + diff --git a/modules/account/front/alias/create/index.html b/modules/account/front/alias/create/index.html index dee59d26e..4dad1b870 100644 --- a/modules/account/front/alias/create/index.html +++ b/modules/account/front/alias/create/index.html @@ -24,10 +24,15 @@ - - + + + + + + diff --git a/modules/account/front/create/index.html b/modules/account/front/create/index.html index 407ac0e3c..ca4a2f840 100644 --- a/modules/account/front/create/index.html +++ b/modules/account/front/create/index.html @@ -44,10 +44,14 @@ - - + + + + + + diff --git a/modules/account/front/ldap/index.html b/modules/account/front/ldap/index.html index 79dc967ff..5c5aaead4 100644 --- a/modules/account/front/ldap/index.html +++ b/modules/account/front/ldap/index.html @@ -48,21 +48,20 @@ + + - - diff --git a/modules/account/front/role/create/index.html b/modules/account/front/role/create/index.html index f610f6d23..02900d580 100644 --- a/modules/account/front/role/create/index.html +++ b/modules/account/front/role/create/index.html @@ -24,10 +24,15 @@ - - + + + + + + diff --git a/modules/account/front/samba/index.html b/modules/account/front/samba/index.html index 92e0a8624..4379f10a2 100644 --- a/modules/account/front/samba/index.html +++ b/modules/account/front/samba/index.html @@ -47,21 +47,20 @@ + + - - - + \ No newline at end of file From 57a6df762a1889f01fe67e4e94c750370f133869 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Wed, 16 Dec 2020 11:22:13 +0100 Subject: [PATCH 16/19] zone module refactors --- modules/zone/front/basic-data/index.html | 15 +++++++-------- modules/zone/front/create/index.html | 17 +++++++++++------ 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/modules/zone/front/basic-data/index.html b/modules/zone/front/basic-data/index.html index f0122c475..c5fef9021 100644 --- a/modules/zone/front/basic-data/index.html +++ b/modules/zone/front/basic-data/index.html @@ -93,17 +93,16 @@ + + - - diff --git a/modules/zone/front/create/index.html b/modules/zone/front/create/index.html index cda13362a..f8c7df391 100644 --- a/modules/zone/front/create/index.html +++ b/modules/zone/front/create/index.html @@ -84,10 +84,15 @@ - - + + + + + + From 6261f10576eaec4a11d8246c36c7f6b16e507108 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Wed, 16 Dec 2020 11:36:11 +0100 Subject: [PATCH 17/19] last account module refactors --- modules/account/front/acl/create/index.html | 2 +- .../account/front/alias/basic-data/index.html | 13 ++++++------- modules/account/front/basic-data/index.html | 13 ++++++------- .../account/front/mail-forwarding/index.html | 18 ++++++++++++------ .../account/front/role/basic-data/index.html | 13 ++++++------- 5 files changed, 31 insertions(+), 28 deletions(-) diff --git a/modules/account/front/acl/create/index.html b/modules/account/front/acl/create/index.html index 86a14a671..7f4fa9e46 100644 --- a/modules/account/front/acl/create/index.html +++ b/modules/account/front/acl/create/index.html @@ -59,7 +59,7 @@ + label="Save"> + + - - \ No newline at end of file diff --git a/modules/account/front/basic-data/index.html b/modules/account/front/basic-data/index.html index d21dda45a..91df3bffd 100644 --- a/modules/account/front/basic-data/index.html +++ b/modules/account/front/basic-data/index.html @@ -37,16 +37,15 @@ + + - - diff --git a/modules/account/front/mail-forwarding/index.html b/modules/account/front/mail-forwarding/index.html index a6be2782a..6c688f504 100644 --- a/modules/account/front/mail-forwarding/index.html +++ b/modules/account/front/mail-forwarding/index.html @@ -27,12 +27,18 @@ - - + + + + + +
+ + - - \ No newline at end of file From c13e9383ba98e54cf6ef4513caa09275fc042023 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Wed, 16 Dec 2020 13:46:04 +0100 Subject: [PATCH 18/19] css refactor + watcher from credit insurance --- front/core/components/confirm/confirm.html | 4 ++-- modules/client/front/credit-insurance/create/index.html | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/front/core/components/confirm/confirm.html b/front/core/components/confirm/confirm.html index 8ae66ccb2..3debb1cfe 100644 --- a/front/core/components/confirm/confirm.html +++ b/front/core/components/confirm/confirm.html @@ -2,6 +2,6 @@ {{::$ctrl.question}} - - + + \ No newline at end of file diff --git a/modules/client/front/credit-insurance/create/index.html b/modules/client/front/credit-insurance/create/index.html index 6812b793a..c32d0a87b 100644 --- a/modules/client/front/credit-insurance/create/index.html +++ b/modules/client/front/credit-insurance/create/index.html @@ -1,9 +1,3 @@ - -
@@ -32,7 +26,6 @@ Date: Wed, 16 Dec 2020 14:53:14 +0100 Subject: [PATCH 19/19] e2e adapted to html refactors --- e2e/helpers/selectors.js | 2 +- e2e/paths/02-client/01_create_client.spec.js | 7 ---- .../02-client/20_credit_insurance.spec.js | 1 + e2e/paths/04-item/03_tax.spec.js | 3 +- e2e/paths/05-ticket/05_tracking_state.spec.js | 7 ---- .../10-travel/02_basic_data_and_log.spec.js | 41 ++++++++++--------- 6 files changed, 25 insertions(+), 36 deletions(-) diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index bc013c5f1..c23a8cc4d 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -827,7 +827,7 @@ export default { firstTravelReference: 'vn-travel-extra-community > vn-data-viewer div > vn-tbody > vn-tr > vn-td-editable', removeContinentFilter: 'vn-searchbar > form > vn-textfield > div.container > div.prepend > prepend > div > span:nth-child(3) > vn-icon > i' }, - travelBasicDada: { + travelBasicData: { reference: 'vn-travel-basic-data vn-textfield[ng-model="$ctrl.travel.ref"]', agency: 'vn-travel-basic-data vn-autocomplete[ng-model="$ctrl.travel.agencyModeFk"]', deliveryDate: 'vn-travel-basic-data vn-date-picker[ng-model="$ctrl.travel.landed"]', diff --git a/e2e/paths/02-client/01_create_client.spec.js b/e2e/paths/02-client/01_create_client.spec.js index 9029910a7..4cb3c67ab 100644 --- a/e2e/paths/02-client/01_create_client.spec.js +++ b/e2e/paths/02-client/01_create_client.spec.js @@ -27,13 +27,6 @@ describe('Client create path', () => { await page.waitForState('client.create'); }); - it('should receive an error when clicking the create button having all the form fields empty', async() => { - await page.waitToClick(selectors.createClientView.createButton); - const message = await page.waitForSnackbar(); - - expect(message.text).toContain('Some fields are invalid'); - }); - it('should receive an error when clicking the create button having name and Business name fields empty', async() => { await page.write(selectors.createClientView.taxNumber, '74451390E'); await page.write(selectors.createClientView.userName, 'CaptainMarvel'); diff --git a/e2e/paths/02-client/20_credit_insurance.spec.js b/e2e/paths/02-client/20_credit_insurance.spec.js index 904a51145..58cb2737c 100644 --- a/e2e/paths/02-client/20_credit_insurance.spec.js +++ b/e2e/paths/02-client/20_credit_insurance.spec.js @@ -20,6 +20,7 @@ describe('Client credit insurance path', () => { }); it('should open the create a new credit contract form', async() => { + await page.waitForTimeout(1000); await page.waitToClick(selectors.clientCreditInsurance.addNewContract); await page.waitForState('client.card.creditInsurance.create'); }); diff --git a/e2e/paths/04-item/03_tax.spec.js b/e2e/paths/04-item/03_tax.spec.js index 0f127bdd5..8b3b0f8b1 100644 --- a/e2e/paths/04-item/03_tax.spec.js +++ b/e2e/paths/04-item/03_tax.spec.js @@ -54,7 +54,8 @@ describe('Item edit tax path', () => { expect(firstVatType).toEqual('Reduced VAT'); }); - it(`should now click the undo changes button and see the changes works`, async() => { + // # #2680 Undo changes button bugs + xit(`should now click the undo changes button and see the form is restored`, async() => { await page.waitToClick(selectors.itemTax.undoChangesButton); const firstVatType = await page.waitToGetProperty(selectors.itemTax.firstClass, 'value'); diff --git a/e2e/paths/05-ticket/05_tracking_state.spec.js b/e2e/paths/05-ticket/05_tracking_state.spec.js index 9c8e6d492..07f0d86bc 100644 --- a/e2e/paths/05-ticket/05_tracking_state.spec.js +++ b/e2e/paths/05-ticket/05_tracking_state.spec.js @@ -24,13 +24,6 @@ describe('Ticket Create new tracking state path', () => { await page.waitForState('ticket.card.tracking.edit'); }); - it(`should attempt create a new state but receive an error if state is empty`, async() => { - await page.waitToClick(selectors.createStateView.saveStateButton); - const message = await page.waitForSnackbar(); - - expect(message.text).toContain('State cannot be blank'); - }); - it(`should create a new state`, async() => { await page.autocompleteSearch(selectors.createStateView.state, '¿Fecha?'); await page.waitToClick(selectors.createStateView.saveStateButton); diff --git a/e2e/paths/10-travel/02_basic_data_and_log.spec.js b/e2e/paths/10-travel/02_basic_data_and_log.spec.js index 9c81e6f63..50e2e1980 100644 --- a/e2e/paths/10-travel/02_basic_data_and_log.spec.js +++ b/e2e/paths/10-travel/02_basic_data_and_log.spec.js @@ -25,31 +25,32 @@ describe('Travel basic data path', () => { const lastMonth = new Date(); lastMonth.setMonth(lastMonth.getMonth() - 1); - await page.pickDate(selectors.travelBasicDada.deliveryDate, lastMonth); - await page.waitToClick(selectors.travelBasicDada.save); + await page.pickDate(selectors.travelBasicData.deliveryDate, lastMonth); + await page.waitToClick(selectors.travelBasicData.save); const message = await page.waitForSnackbar(); expect(message.text).toContain('Landing cannot be lesser than shipment'); }); it('should undo the changes', async() => { - await page.waitToClick(selectors.travelBasicDada.undoChanges); - await page.waitToClick(selectors.travelBasicDada.save); - const message = await page.waitForSnackbar(); + await page.clearInput(selectors.travelBasicData.reference); + await page.write(selectors.travelBasicData.reference, 'totally pointless ref'); + await page.waitToClick(selectors.travelBasicData.undoChanges); + const result = await page.waitToGetProperty(selectors.travelBasicData.reference, 'value'); - expect(message.text).toContain('No changes to save'); + expect(result).toEqual('third travel'); }); it('should now edit the whole form then save', async() => { - await page.clearInput(selectors.travelBasicDada.reference); - await page.write(selectors.travelBasicDada.reference, 'new reference!'); + await page.clearInput(selectors.travelBasicData.reference); + await page.write(selectors.travelBasicData.reference, 'new reference!'); await page.waitForTimeout(2000); - await page.autocompleteSearch(selectors.travelBasicDada.agency, 'Entanglement'); - await page.autocompleteSearch(selectors.travelBasicDada.outputWarehouse, 'Warehouse Three'); - await page.autocompleteSearch(selectors.travelBasicDada.inputWarehouse, 'Warehouse Four'); - await page.waitToClick(selectors.travelBasicDada.delivered); - await page.waitToClick(selectors.travelBasicDada.received); - await page.waitToClick(selectors.travelBasicDada.save); + await page.autocompleteSearch(selectors.travelBasicData.agency, 'Entanglement'); + await page.autocompleteSearch(selectors.travelBasicData.outputWarehouse, 'Warehouse Three'); + await page.autocompleteSearch(selectors.travelBasicData.inputWarehouse, 'Warehouse Four'); + await page.waitToClick(selectors.travelBasicData.delivered); + await page.waitToClick(selectors.travelBasicData.received); + await page.waitToClick(selectors.travelBasicData.save); const message = await page.waitForSnackbar(); expect(message.text).toContain('Data saved!'); @@ -57,35 +58,35 @@ describe('Travel basic data path', () => { it('should reload the section and check the reference was saved', async() => { await page.reloadSection('travel.card.basicData'); - const result = await page.waitToGetProperty(selectors.travelBasicDada.reference, 'value'); + const result = await page.waitToGetProperty(selectors.travelBasicData.reference, 'value'); expect(result).toEqual('new reference!'); }); it('should check the agency was saved', async() => { - const result = await page.waitToGetProperty(selectors.travelBasicDada.agency, 'value'); + const result = await page.waitToGetProperty(selectors.travelBasicData.agency, 'value'); expect(result).toEqual('Entanglement'); }); it('should check the output warehouse date was saved', async() => { - const result = await page.waitToGetProperty(selectors.travelBasicDada.outputWarehouse, 'value'); + const result = await page.waitToGetProperty(selectors.travelBasicData.outputWarehouse, 'value'); expect(result).toEqual('Warehouse Three'); }); it('should check the input warehouse date was saved', async() => { - const result = await page.waitToGetProperty(selectors.travelBasicDada.inputWarehouse, 'value'); + const result = await page.waitToGetProperty(selectors.travelBasicData.inputWarehouse, 'value'); expect(result).toEqual('Warehouse Four'); }); it(`should check the delivered checkbox was saved even tho it doesn't make sense`, async() => { - await page.waitForClassPresent(selectors.travelBasicDada.delivered, 'checked'); + await page.waitForClassPresent(selectors.travelBasicData.delivered, 'checked'); }); it(`should check the received checkbox was saved even tho it doesn't make sense`, async() => { - await page.waitForClassPresent(selectors.travelBasicDada.received, 'checked'); + await page.waitForClassPresent(selectors.travelBasicData.received, 'checked'); }); it('should navigate to the travel logs', async() => {