diff --git a/packages/Webkul/Admin/src/Resources/assets/sass/app.scss b/packages/Webkul/Admin/src/Resources/assets/sass/app.scss index 2620e6a70..f47e484e7 100755 --- a/packages/Webkul/Admin/src/Resources/assets/sass/app.scss +++ b/packages/Webkul/Admin/src/Resources/assets/sass/app.scss @@ -173,23 +173,6 @@ body { height: 90%; } - // .close-nav-aside { - // width: 100%; - // padding: 20px; - // text-align: center; - // border: 1px solid $border-color; - - // .icon { - // height: 24px; - // width: 24px; - // } - // } - - // .close-nav-aside:hover { - // background: white; - // cursor: pointer; - // } - a { padding: 15px; display: block; @@ -277,6 +260,27 @@ body { } } +.control-container { + border: 1px solid #c7c7c7; + padding: 20px; + width: 50%; + + .control-group { + display: flex; + flex-direction: row; + align-content: center; + justify-content: flex-start; + padding: 10px; + border: 1px solid #c7c7c7; + border-radius: 2px; + margin-right: 15px; + } + + .control-group::last-child { + margin-right: 0px; + } +} + .control-group { label { width: 70%; diff --git a/packages/Webkul/Admin/src/Resources/views/promotions/catalog-rule/create.blade.php b/packages/Webkul/Admin/src/Resources/views/promotions/catalog-rule/create.blade.php index b434cd91b..901cc56d9 100644 --- a/packages/Webkul/Admin/src/Resources/views/promotions/catalog-rule/create.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/promotions/catalog-rule/create.blade.php @@ -40,30 +40,34 @@ {{-- --}}
+ @{{ errors.first('name') }}
+ @{{ errors.first('description') }}
+ + @{{ errors.first('customer_groups') }}
- @foreach(app('Webkul\Core\Repositories\ChannelRepository')->all() as $channel) @@ -109,41 +113,50 @@
+
-
- Attribute is - - - - - - +
+ Attribute is + +
+ + + + + +
+
+
-
- Category +
+ Category - + - +
+ - + +
@@ -164,11 +177,11 @@ conditions: [], attrs_count: 0, cats_count: 0, - name: null, - priority: 0, - starts_from: null, - ends_till: null, - description: null, + name: '10% OFF', + priority: 1, + starts_from: 'a', + ends_till: 'b', + description: 'something', customer_groups: [], criteria: null, attr: { diff --git a/packages/Webkul/Admin/src/Resources/views/tax/tax-rates/edit.blade.php b/packages/Webkul/Admin/src/Resources/views/tax/tax-rates/edit.blade.php index 55168330a..53ebef1f9 100755 --- a/packages/Webkul/Admin/src/Resources/views/tax/tax-rates/edit.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/tax/tax-rates/edit.blade.php @@ -24,7 +24,49 @@
- +
+ @method('PUT') + + @csrf() + +
+ + + + @{{ errors.first('identifier') }} +
+ + @include ('admin::customers.country-state', ['countryCode' => old('country') ?? $taxRate->country, 'stateCode' => old('state') ?? $taxRate->state]) + + @if ($taxRate->is_zip) + + +
+ + + @{{ errors.first('zip_from') }} +
+ +
+ + + @{{ errors.first('zip_to') }} +
+ @else +
+ + + @{{ errors.first('zip_code') }} +
+ @endif + +
+ + + @{{ errors.first('tax_rate') }} +
+ +
diff --git a/packages/Webkul/Shop/src/Resources/assets/sass/app.scss b/packages/Webkul/Shop/src/Resources/assets/sass/app.scss index 251b91c8d..6188762b3 100755 --- a/packages/Webkul/Shop/src/Resources/assets/sass/app.scss +++ b/packages/Webkul/Shop/src/Resources/assets/sass/app.scss @@ -38,116 +38,6 @@ input { border-radius: 0px !important; } -//margin bottom classes -.mb-10 { - margin-bottom: 10px; -} - -.mb-15 { - margin-bottom: 15px; -} - -.mb-20 { - margin-bottom: 20px; -} - -.mb-25 { - margin-bottom: 25px; -} - -.mb-30 { - margin-bottom: 30px; -} - -.mb-35 { - margin-bottom: 35px; -} - -.mb-40 { - margin-bottom: 40px; -} - -.mb-45 { - margin-bottom: 45px; -} - -.mb-50 { - margin-bottom: 50px; -} - -.mb-60 { - margin-bottom: 60px; -} - -.mb-70 { - margin-bottom: 70px; -} - -.mb-80 { - margin-bottom: 80px; -} - -.mb-90 { - margin-bottom: 90px; -} - -//margin-top -.mt-5 { - margin-top: 5px; -} - -.mt-10 { - margin-top: 10px; -} - -.mt-15 { - margin-top: 15px; -} - -.mt-20 { - margin-top: 20px; -} - -.mt-25 { - margin-top: 25px; -} - -.mt-30 { - margin-top: 30px; -} - -.mt-35 { - margin-top: 35px; -} - -.mt-40 { - margin-top: 40px; -} - -.mt-45 { - margin-top: 45px; -} - -.mt-50 { - margin-top: 50px; -} - -.mt-60 { - margin-top: 60px; -} - -.mt-70 { - margin-top: 70px; -} - -.mt-80 { - margin-top: 80px; -} - -.mt-90 { - margin-top: 90px; -} - //pagination .pagination.shop{ display: flex; diff --git a/packages/Webkul/Ui/src/Resources/assets/sass/app.scss b/packages/Webkul/Ui/src/Resources/assets/sass/app.scss index 1d8ca2938..873cb32bd 100755 --- a/packages/Webkul/Ui/src/Resources/assets/sass/app.scss +++ b/packages/Webkul/Ui/src/Resources/assets/sass/app.scss @@ -15,6 +15,116 @@ outline: none; } +//margin bottom classes +.mb-10 { + margin-bottom: 10px; +} + +.mb-15 { + margin-bottom: 15px; +} + +.mb-20 { + margin-bottom: 20px; +} + +.mb-25 { + margin-bottom: 25px; +} + +.mb-30 { + margin-bottom: 30px; +} + +.mb-35 { + margin-bottom: 35px; +} + +.mb-40 { + margin-bottom: 40px; +} + +.mb-45 { + margin-bottom: 45px; +} + +.mb-50 { + margin-bottom: 50px; +} + +.mb-60 { + margin-bottom: 60px; +} + +.mb-70 { + margin-bottom: 70px; +} + +.mb-80 { + margin-bottom: 80px; +} + +.mb-90 { + margin-bottom: 90px; +} + +//margin-top +.mt-5 { + margin-top: 5px; +} + +.mt-10 { + margin-top: 10px; +} + +.mt-15 { + margin-top: 15px; +} + +.mt-20 { + margin-top: 20px; +} + +.mt-25 { + margin-top: 25px; +} + +.mt-30 { + margin-top: 30px; +} + +.mt-35 { + margin-top: 35px; +} + +.mt-40 { + margin-top: 40px; +} + +.mt-45 { + margin-top: 45px; +} + +.mt-50 { + margin-top: 50px; +} + +.mt-60 { + margin-top: 60px; +} + +.mt-70 { + margin-top: 70px; +} + +.mt-80 { + margin-top: 80px; +} + +.mt-90 { + margin-top: 90px; +} + body { letter-spacing: -0.26px; line-height: 19px;