Subversion Repositories SmartDukaan

Rev

Rev 36008 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36008 Rev 37384
Line 171... Line 171...
171
        color: #6c757d;
171
        color: #6c757d;
172
        font-style: italic;
172
        font-style: italic;
173
    }
173
    }
174
 
174
 
175
    .curve {
175
    .curve {
176
        padding-left: 100px !important;
-
 
177
        border-radius: 40px 0 0 40px !important;
176
        border-radius: 40px 0 0 40px;
178
        width: 250px !important;
-
 
179
    }
177
    }
180
 
178
 
181
 
179
 
182
    .stock-ribbon {
180
    .stock-ribbon {
183
        position: relative;
181
        position: relative;
-
 
182
        z-index: 1;
-
 
183
        flex: 1 1 auto;
-
 
184
        max-width: 320px;
-
 
185
        margin-left: -44px;
184
        padding: 5px 15px;
186
        padding: 12px 34px 12px 58px;
185
        color: white;
187
        color: white;
186
        clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
188
        clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
-
 
189
    }
-
 
190
 
-
 
191
    .stock-ribbon .d-flex > span + span {
187
        min-width: 220px;
192
        margin-left: 6px;
188
    }
193
    }
189
 
194
 
190
    .mandatory-ribbon {
195
    .mandatory-ribbon {
191
        background-color: #D3181F !important;
196
        background-color: #D3181F !important;
192
    }
197
    }
Line 199... Line 204...
199
        display: flex;
204
        display: flex;
200
        align-items: center;
205
        align-items: center;
201
        margin-bottom: 20px;
206
        margin-bottom: 20px;
202
    }
207
    }
203
 
208
 
-
 
209
    .brand-item > .position-relative {
-
 
210
        flex: 0 0 auto;
-
 
211
    }
-
 
212
 
204
    .category-header {
213
    .category-header {
205
        font-size: 15px;
214
        font-size: 15px;
206
        font-weight: bold;
215
        font-weight: bold;
207
        margin: 20px 0;
216
        margin: 20px 0;
208
        padding-left: 15px;
217
        padding-left: 15px;
Line 225... Line 234...
225
    .table-bordered td, .table-bordered th {
234
    .table-bordered td, .table-bordered th {
226
        border: 1px solid #dee2e6;
235
        border: 1px solid #dee2e6;
227
    }
236
    }
228
 
237
 
229
    .brand-circle {
238
    .brand-circle {
230
        width: 60px;
239
        width: 88px;
231
        height: 60px;
240
        height: 88px;
232
        object-fit: cover;
241
        object-fit: contain;
-
 
242
        background-color: #fff;
-
 
243
        padding: 4px;
-
 
244
        border-width: 3px !important;
233
        border: 5px solid rgb(122, 116, 116);
245
        border-style: solid !important;
234
    }
246
    }
235
 
247
 
236
 
248
 
237
    /*.currency::before {
249
    /*.currency::before {
238
        content: "\20B9";
250
        content: "\20B9";
Line 758... Line 770...
758
                        <h1 class="text-center mb-0 fw-bold py-2 text-white fs-8">My Stock</h1>
770
                        <h1 class="text-center mb-0 fw-bold py-2 text-white fs-8">My Stock</h1>
759
                    </div>
771
                    </div>
760
                </div>
772
                </div>
761
            </div>
773
            </div>
762
 
774
 
763
            <div class="row px-5" style="margin-left: 10rem !important;">
775
            <div class="row justify-content-center">
764
                <div class="col-md-6">
776
                <div class="col-md-5">
765
                    <div class="category-header mandatory-header">MANDATORY BRANDS</div>
777
                    <div class="category-header mandatory-header">MANDATORY BRANDS</div>
766
 
778
 
767
                    #foreach($brandStockPrice in $brandStockPrices)
779
                    #foreach($brandStockPrice in $brandStockPrices)
768
                        #set($mandatoryBrands = ["Vivo", "Oppo", "Samsung", "Realme"])
780
                        #set($mandatoryBrands = ["Vivo", "Oppo", "Samsung", "Realme"])
769
                        #if($mandatoryBrands.contains($brandStockPrice.getBrand()))
781
                        #if($mandatoryBrands.contains($brandStockPrice.getBrand()))
Line 773... Line 785...
773
                                         class="brand-circle img-fluid rounded-circle shadow border border-danger"
785
                                         class="brand-circle img-fluid rounded-circle shadow border border-danger"
774
                                         data-stockbrand="$brandStockPrice.getBrand()"
786
                                         data-stockbrand="$brandStockPrice.getBrand()"
775
                                         alt="$brandStockPrice.getBrand()">
787
                                         alt="$brandStockPrice.getBrand()">
776
                                </div>
788
                                </div>
777
 
789
 
778
                                <div class="stock-ribbon mandatory-ribbon ms-n3  position-absolute curve ">
790
                                <div class="stock-ribbon mandatory-ribbon curve">
779
                                    <div class="d-flex d-flex  mb-1">
791
                                    <div class="d-flex d-flex  mb-1">
780
                                        <span class="fw-bold text-start fs-5">QTY:  </span>
792
                                        <span class="fw-bold text-start fs-5">QTY:  </span>
781
                                        <span class="fw-bold text-start fs-5">$brandStockPrice.getTotalQty()</span>
793
                                        <span class="fw-bold text-start fs-5">$brandStockPrice.getTotalQty()</span>
782
                                    </div>
794
                                    </div>
783
                                    <div class="d-flex ">
795
                                    <div class="d-flex ">
Line 800... Line 812...
800
                            </div>
812
                            </div>
801
                        #end
813
                        #end
802
                    #end
814
                    #end
803
                </div>
815
                </div>
804
 
816
 
805
                <div class="col-md-6">
817
                <div class="col-md-5">
806
                    <div class="category-header other-header">OTHER BRANDS</div>
818
                    <div class="category-header other-header">OTHER BRANDS</div>
807
                    #set($mandatoryBrands = ["Vivo", "Oppo", "Samsung", "Realme"])
819
                    #set($mandatoryBrands = ["Vivo", "Oppo", "Samsung", "Realme"])
808
 
820
 
809
                    #foreach($brandStockPrice in $brandStockPrices)
821
                    #foreach($brandStockPrice in $brandStockPrices)
810
                        #if(!$mandatoryBrands.contains($brandStockPrice.getBrand()))
822
                        #if(!$mandatoryBrands.contains($brandStockPrice.getBrand()))
Line 814... Line 826...
814
                                         class="brand-circle img-fluid rounded-circle shadow border border-dark"
826
                                         class="brand-circle img-fluid rounded-circle shadow border border-dark"
815
                                         data-stockbrand="$brandStockPrice.getBrand()"
827
                                         data-stockbrand="$brandStockPrice.getBrand()"
816
                                         alt="$brandStockPrice.getBrand()">
828
                                         alt="$brandStockPrice.getBrand()">
817
                                </div>
829
                                </div>
818
 
830
 
819
                                <div class="stock-ribbon other-ribbon ms-n3 position-absolute  curve">
831
                                <div class="stock-ribbon other-ribbon curve">
820
                                    <div class="d-flex d-flex  mb-1">
832
                                    <div class="d-flex d-flex  mb-1">
821
                                        <span class="fw-bold text-start fs-5">QTY:  </span>
833
                                        <span class="fw-bold text-start fs-5">QTY:  </span>
822
                                        <span class="fw-bold text-start fs-5">$brandStockPrice.getTotalQty()</span>
834
                                        <span class="fw-bold text-start fs-5">$brandStockPrice.getTotalQty()</span>
823
                                    </div>
835
                                    </div>
824
                                    <div class="d-flex ">
836
                                    <div class="d-flex ">