Browse Source

Merge branch 'dev'

master
Guillaume Bourgeois 6 years ago
parent
commit
0b1084e4da
8 changed files with 105 additions and 73 deletions
  1. +12
    -1
      backend/views/distribution/index.php
  2. +23
    -19
      backend/web/css/screen.css
  3. +4
    -0
      backend/web/js/vuejs/distribution-index.js
  4. +4
    -0
      backend/web/sass/distribution/_index.scss
  5. +10
    -9
      producer/views/order/order.php
  6. +45
    -41
      producer/web/css/screen.css
  7. +0
    -1
      producer/web/js/vuejs/order-order.js
  8. +7
    -2
      producer/web/sass/order/_order.scss

+ 12
- 1
backend/views/distribution/index.php View File

is-expanded is-expanded
v-model="date" v-model="date"
popover-visibility="hidden" popover-visibility="hidden"
firstDayOfWeek="1"
:mode="calendar.mode" :mode="calendar.mode"
:formats="calendar.formats" :formats="calendar.formats"
:theme-styles="calendar.themeStyles" :theme-styles="calendar.themeStyles"
</tbody> </tbody>
</table> </table>
</div> </div>
<div slot="footer">
<div class="actions-form">
<button class="modal-default-button btn btn-default" @click="closeModalProducts">Fermer</button>
</div>
</div>
</modal> </modal>
<div class="col-md-6"> <div class="col-md-6">
<td> <td>
<span v-if="order.user">{{ order.user.lastname+' '+order.user.name }}</span> <span v-if="order.user">{{ order.user.lastname+' '+order.user.name }}</span>
<span v-else>{{ order.username }}</span> <span v-else>{{ order.username }}</span>
<span v-if="order.comment && order.comment.length > 0" class="glyphicon glyphicon-comment"></span>
</td> </td>
<td v-if="idActivePointSale == 0"> <td v-if="idActivePointSale == 0">
{{ order.pointSale.name }} {{ order.pointSale.name }}
{{ order.productOrder[product.id] }} x {{ product.name }} {{ order.productOrder[product.id] }} x {{ product.name }}
</li> </li>
</ul> </ul>
</td>
<div v-if="order.comment && order.comment.length > 0" class="comment">
<strong><span class="glyphicon glyphicon-menu-right"></span> Commentaire</strong><br />
{{ order.comment }}
</div>
</td>
</tr> </tr>
</template> </template>
</tbody> </tbody>

+ 23
- 19
backend/web/css/screen.css View File

margin-left: 0px; margin-left: 0px;
padding-left: 15px; padding-left: 15px;
} }
/* line 247, ../sass/distribution/_index.scss */
/* line 240, ../sass/distribution/_index.scss */
.distribution-index #orders table tr.view .comment {
margin-top: 20px;
}
/* line 251, ../sass/distribution/_index.scss */
.distribution-index .modal-form-order table.table-products .product-ordered td { .distribution-index .modal-form-order table.table-products .product-ordered td {
background-color: #e9e9e9; background-color: #e9e9e9;
} }
/* line 251, ../sass/distribution/_index.scss */
/* line 255, ../sass/distribution/_index.scss */
.distribution-index .modal-form-order table.table-products .product-ordered input { .distribution-index .modal-form-order table.table-products .product-ordered input {
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
} }
/* line 257, ../sass/distribution/_index.scss */
/* line 261, ../sass/distribution/_index.scss */
.distribution-index .modal-form-order table.table-products td.quantity { .distribution-index .modal-form-order table.table-products td.quantity {
width: 150px; width: 150px;
} }
/* line 260, ../sass/distribution/_index.scss */
/* line 264, ../sass/distribution/_index.scss */
.distribution-index .modal-form-order table.table-products td.quantity input { .distribution-index .modal-form-order table.table-products td.quantity input {
text-align: center; text-align: center;
color: gray; color: gray;
} }
/* line 266, ../sass/distribution/_index.scss */
/* line 270, ../sass/distribution/_index.scss */
.distribution-index .modal-form-order table.table-products td.quantity-remaining { .distribution-index .modal-form-order table.table-products td.quantity-remaining {
text-align: right; text-align: right;
} }
/* line 272, ../sass/distribution/_index.scss */
/* line 276, ../sass/distribution/_index.scss */
.distribution-index .modal-form-order .actions-form button { .distribution-index .modal-form-order .actions-form button {
margin-left: 15px; margin-left: 15px;
} }
/* line 280, ../sass/distribution/_index.scss */
/* line 284, ../sass/distribution/_index.scss */
.distribution-index .modal-payment .info-box .info-box-icon { .distribution-index .modal-payment .info-box .info-box-icon {
width: 50px; width: 50px;
} }
/* line 282, ../sass/distribution/_index.scss */
/* line 286, ../sass/distribution/_index.scss */
.distribution-index .modal-payment .info-box .info-box-icon i { .distribution-index .modal-payment .info-box .info-box-icon i {
font-size: 30px; font-size: 30px;
} }
/* line 286, ../sass/distribution/_index.scss */
/* line 290, ../sass/distribution/_index.scss */
.distribution-index .modal-payment .info-box .info-box-content { .distribution-index .modal-payment .info-box .info-box-content {
margin-left: 50px; margin-left: 50px;
} }
/* line 292, ../sass/distribution/_index.scss */
/* line 296, ../sass/distribution/_index.scss */
.distribution-index .modal-mask { .distribution-index .modal-mask {
position: fixed; position: fixed;
z-index: 9998; z-index: 9998;
display: table; display: table;
transition: opacity .3s ease; transition: opacity .3s ease;
} }
/* line 304, ../sass/distribution/_index.scss */
/* line 308, ../sass/distribution/_index.scss */
.distribution-index .modal-wrapper { .distribution-index .modal-wrapper {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
} }
/* line 309, ../sass/distribution/_index.scss */
/* line 313, ../sass/distribution/_index.scss */
.distribution-index .modal-container { .distribution-index .modal-container {
width: 70%; width: 70%;
margin: 0px auto; margin: 0px auto;
transition: all .3s ease; transition: all .3s ease;
font-family: Helvetica, Arial, sans-serif; font-family: Helvetica, Arial, sans-serif;
} }
/* line 320, ../sass/distribution/_index.scss */
/* line 324, ../sass/distribution/_index.scss */
.distribution-index .modal-header { .distribution-index .modal-header {
padding-bottom: 0px; padding-bottom: 0px;
} }
/* line 322, ../sass/distribution/_index.scss */
/* line 326, ../sass/distribution/_index.scss */
.distribution-index .modal-header h3 { .distribution-index .modal-header h3 {
margin-top: 0; margin-top: 0;
color: #333; color: #333;
text-transform: uppercase; text-transform: uppercase;
margin-bottom: 0px; margin-bottom: 0px;
} }
/* line 330, ../sass/distribution/_index.scss */
/* line 334, ../sass/distribution/_index.scss */
.distribution-index .modal-body { .distribution-index .modal-body {
margin: 20px 0; margin: 20px 0;
max-height: 300px; max-height: 300px;
height: 300px; height: 300px;
overflow-y: scroll; overflow-y: scroll;
} }
/* line 337, ../sass/distribution/_index.scss */
/* line 341, ../sass/distribution/_index.scss */
.distribution-index .modal-default-button { .distribution-index .modal-default-button {
float: right; float: right;
} }
/* line 350, ../sass/distribution/_index.scss */
/* line 354, ../sass/distribution/_index.scss */
.distribution-index .modal-enter { .distribution-index .modal-enter {
opacity: 0; opacity: 0;
} }
/* line 354, ../sass/distribution/_index.scss */
/* line 358, ../sass/distribution/_index.scss */
.distribution-index .modal-leave-active { .distribution-index .modal-leave-active {
opacity: 0; opacity: 0;
} }
/* line 358, ../sass/distribution/_index.scss */
/* line 362, ../sass/distribution/_index.scss */
.distribution-index .modal-enter .modal-container, .distribution-index .modal-enter .modal-container,
.distribution-index .modal-leave-active .modal-container { .distribution-index .modal-leave-active .modal-container {
-webkit-transform: scale(1.1); -webkit-transform: scale(1.1);

+ 4
- 0
backend/web/js/vuejs/distribution-index.js View File

this.idOrderView = currentIdOrderView ; this.idOrderView = currentIdOrderView ;
} }
},
closeModalProducts: function() {
this.showModalProducts = false ;
this.init(this.idActivePointSale) ;
} }
}, },
}); });

+ 4
- 0
backend/web/sass/distribution/_index.scss View File

} }
} }
.comment {
margin-top: 20px ;
}
} }
} }
} }

+ 10
- 9
producer/views/order/order.php View File

<div id="steps"> <div id="steps">
<ul> <ul>
<li id="step-date" :class="'col-md-3 '+((step == 'date') ? 'active' : '')"> <li id="step-date" :class="'col-md-3 '+((step == 'date') ? 'active' : '')">
<div class="info-step" v-if="dateFormat">
{{ dateFormat }}
</div>
<button @click="changeStep('date')" :class="'btn '+ (step == 'date' ? 'btn-primary' : 'btn-default')"> <button @click="changeStep('date')" :class="'btn '+ (step == 'date' ? 'btn-primary' : 'btn-default')">
<span class="button-content"><span class="glyphicon glyphicon-time"></span> Date</span></span> <span class="button-content"><span class="glyphicon glyphicon-time"></span> Date</span></span>
</button> </button>
<div class="info-step" v-if="dateFormat">
{{ dateFormat }}
</div>
</li> </li>
<li id="step-point-sale" :class="'col-md-3 '+((step == 'point-sale') ? 'active ' : '')"> <li id="step-point-sale" :class="'col-md-3 '+((step == 'point-sale') ? 'active ' : '')">
<div class="info-step" v-if="pointSaleActive">
{{ pointSaleActive.name }}
</div>
<button @click="changeStep('point-sale')" :class="'btn '+ (step == 'point-sale' ? 'btn-primary' : 'btn-default')" :disabled="step == 'date'"> <button @click="changeStep('point-sale')" :class="'btn '+ (step == 'point-sale' ? 'btn-primary' : 'btn-default')" :disabled="step == 'date'">
<span class="button-content"><span class="glyphicon glyphicon-map-marker"></span> Points de vente</span> <span class="button-content"><span class="glyphicon glyphicon-map-marker"></span> Points de vente</span>
</button> </button>
<div class="info-step" v-if="pointSaleActive">
{{ pointSaleActive.name }}
</div>
</li> </li>
<li id="step-products" :class="'col-md-3 '+((step == 'products') ? 'active ' : '')"> <li id="step-products" :class="'col-md-3 '+((step == 'products') ? 'active ' : '')">
<div class="info-step" v-if="oneProductOrdered()">
{{ countProductOrdered() }} produit{{ (countProductOrdered() > 1) ? 's' : '' }}
</div>
<button @click="changeStep('products')" :class="'btn '+ (step == 'products' ? 'btn-primary' : 'btn-default')" :disabled="step == 'date' || step == 'point-sale'"> <button @click="changeStep('products')" :class="'btn '+ (step == 'products' ? 'btn-primary' : 'btn-default')" :disabled="step == 'date' || step == 'point-sale'">
<span class="button-content"><span class="glyphicon glyphicon-th-list"></span> Produits</span> <span class="button-content"><span class="glyphicon glyphicon-th-list"></span> Produits</span>
</button> </button>
<div class="info-step" v-if="oneProductOrdered()">
{{ countProductOrdered() }} produit{{ (countProductOrdered() > 1) ? 's' : '' }}
</div>
</li> </li>
<li id="step-payment" :class="'col-md-3 '+((step == 'payment') ? 'active' : '')"> <li id="step-payment" :class="'col-md-3 '+((step == 'payment') ? 'active' : '')">
<button @click="changeStep('payment')" :class="'btn '+ (step == 'payment' ? 'btn-primary' : 'btn-default')" :disabled="step == 'date' || step == 'point-sale' || step == 'products'"> <button @click="changeStep('payment')" :class="'btn '+ (step == 'payment' ? 'btn-primary' : 'btn-default')" :disabled="step == 'date' || step == 'point-sale' || step == 'products'">
is-expanded is-expanded
v-model="date" v-model="date"
mode="single" mode="single"
firstDayOfWeek="1"
:formats="calendar.formats" :formats="calendar.formats"
:theme-styles="calendar.themeStyles" :theme-styles="calendar.themeStyles"
:attributes="calendar.attrs" :attributes="calendar.attrs"

+ 45
- 41
producer/web/css/screen.css View File

} }
/* line 29, ../sass/order/_order.scss */ /* line 29, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul { .order-order #app-order-order #steps ul {
margin-top: 30px;
height: 70px;
} }
/* line 31, ../sass/order/_order.scss */
/* line 32, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li { .order-order #app-order-order #steps ul li {
text-align: center; text-align: center;
padding-right: 8px; padding-right: 8px;
padding-left: 8px; padding-left: 8px;
position: relative; position: relative;
} }
/* line 37, ../sass/order/_order.scss */
/* line 38, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li .info-step { .order-order #app-order-order #steps ul li .info-step {
position: absolute; position: absolute;
top: -30px;
top: 45px;
left: 0px; left: 0px;
width: 100%; width: 100%;
text-transform: normal; text-transform: normal;
color: #FF7F00;
font-family: "capsuularegular";
font-size: 17px;
font-weight: bold;
} }
/* line 45, ../sass/order/_order.scss */
/* line 50, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li .glyphicon-chevron-right, .order-order #app-order-order #steps ul li.active .glyphicon-chevron-right { .order-order #app-order-order #steps ul li .glyphicon-chevron-right, .order-order #app-order-order #steps ul li.active .glyphicon-chevron-right {
float: right; float: right;
color: gray; color: gray;
position: relative; position: relative;
top: 10px; top: 10px;
} }
/* line 53, ../sass/order/_order.scss */
/* line 58, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li#step-date { .order-order #app-order-order #steps ul li#step-date {
padding-left: 0px; padding-left: 0px;
} }
/* line 57, ../sass/order/_order.scss */
/* line 62, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li#step-payment { .order-order #app-order-order #steps ul li#step-payment {
padding-right: 0px; padding-right: 0px;
} }
/* line 61, ../sass/order/_order.scss */
/* line 66, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li#step-payment .btn::after, .order-order #app-order-order #steps ul li#step-date .btn::before { .order-order #app-order-order #steps ul li#step-payment .btn::after, .order-order #app-order-order #steps ul li#step-date .btn::before {
display: none; display: none;
} }
/* line 66, ../sass/order/_order.scss */
/* line 71, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li .btn { .order-order #app-order-order #steps ul li .btn {
color: #333; color: #333;
text-transform: uppercase; text-transform: uppercase;
border: 0px none; border: 0px none;
text-transform: uppercase; text-transform: uppercase;
} }
/* line 77, ../sass/order/_order.scss */
/* line 82, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li .btn .button-content { .order-order #app-order-order #steps ul li .btn .button-content {
position: relative; position: relative;
left: 8px; left: 8px;
} }
/* line 82, ../sass/order/_order.scss */
/* line 87, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li .btn.btn-primary { .order-order #app-order-order #steps ul li .btn.btn-primary {
background-color: #FF7F00; background-color: #FF7F00;
} }
/* line 86, ../sass/order/_order.scss */
/* line 91, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li .btn::after, .order-order #app-order-order #steps ul li .btn::before { .order-order #app-order-order #steps ul li .btn::after, .order-order #app-order-order #steps ul li .btn::before {
content: ""; content: "";
position: absolute; position: absolute;
top: -1px; top: -1px;
} }
/* line 92, ../sass/order/_order.scss */
/* line 97, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li .btn::after { .order-order #app-order-order #steps ul li .btn::after {
right: -34px; right: -34px;
border: 17px solid transparent; border: 17px solid transparent;
border-left: 17px solid #e0e0e0; border-left: 17px solid #e0e0e0;
background-color: transparent; background-color: transparent;
} }
/* line 99, ../sass/order/_order.scss */
/* line 104, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li .btn::before { .order-order #app-order-order #steps ul li .btn::before {
left: 0px; left: 0px;
border: 17px solid transparent; border: 17px solid transparent;
border-left: 17px solid white; border-left: 17px solid white;
background-color: transparent; background-color: transparent;
} }
/* line 106, ../sass/order/_order.scss */
/* line 111, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li .btn.btn-primary::after { .order-order #app-order-order #steps ul li .btn.btn-primary::after {
border-left: 17px solid #FF7F00; border-left: 17px solid #FF7F00;
} }
/* line 120, ../sass/order/_order.scss */
/* line 125, ../sass/order/_order.scss */
.order-order #app-order-order #steps ul li .btn-primary { .order-order #app-order-order #steps ul li .btn-primary {
color: white; color: white;
} }
/* line 128, ../sass/order/_order.scss */
/* line 133, ../sass/order/_order.scss */
.order-order #app-order-order #legend #order-date-color, .order-order #app-order-order #legend #order-date-color,
.order-order #app-order-order #legend #distribution-date-color { .order-order #app-order-order #legend #distribution-date-color {
width: 13px; width: 13px;
height: 13px; height: 13px;
display: inline-block; display: inline-block;
} }
/* line 135, ../sass/order/_order.scss */
/* line 140, ../sass/order/_order.scss */
.order-order #app-order-order #legend #order-date-color { .order-order #app-order-order #legend #order-date-color {
background-color: #FF7F00; background-color: #FF7F00;
} }
/* line 138, ../sass/order/_order.scss */
/* line 143, ../sass/order/_order.scss */
.order-order #app-order-order #legend #distribution-date-color { .order-order #app-order-order #legend #distribution-date-color {
background-color: #5cb85c; background-color: #5cb85c;
} }
/* line 143, ../sass/order/_order.scss */
/* line 148, ../sass/order/_order.scss */
.order-order #app-order-order #calendar { .order-order #app-order-order #calendar {
margin-bottom: 15px; margin-bottom: 15px;
} }
/* line 145, ../sass/order/_order.scss */
/* line 150, ../sass/order/_order.scss */
.order-order #app-order-order #calendar .c-header .c-title-layout .c-title-popover .c-title-anchor .c-title[data-v-2083cb72] { .order-order #app-order-order #calendar .c-header .c-title-layout .c-title-popover .c-title-anchor .c-title[data-v-2083cb72] {
font-size: 2rem; font-size: 2rem;
} }
/* line 148, ../sass/order/_order.scss */
/* line 153, ../sass/order/_order.scss */
.order-order #app-order-order #calendar .c-day-background { .order-order #app-order-order #calendar .c-day-background {
padding: 20px; padding: 20px;
} }
/* line 153, ../sass/order/_order.scss */
/* line 158, ../sass/order/_order.scss */
.order-order #app-order-order #calendar .c-day:hover .c-day-background { .order-order #app-order-order #calendar .c-day:hover .c-day-background {
background-color: #FF7F00 !important; background-color: #FF7F00 !important;
color: white !important; color: white !important;
} }
/* line 159, ../sass/order/_order.scss */
/* line 164, ../sass/order/_order.scss */
.order-order #app-order-order #calendar .c-day-popover-content { .order-order #app-order-order #calendar .c-day-popover-content {
font-size: 1.3rem; font-size: 1.3rem;
} }
/* line 164, ../sass/order/_order.scss */
/* line 169, ../sass/order/_order.scss */
.order-order #app-order-order .block-actions { .order-order #app-order-order .block-actions {
text-align: right; text-align: right;
margin-top: 20px; margin-top: 20px;
} }
/* line 171, ../sass/order/_order.scss */
/* line 176, ../sass/order/_order.scss */
.order-order #app-order-order table#points-sale td.name .the-name { .order-order #app-order-order table#points-sale td.name .the-name {
font-family: "capsuularegular"; font-family: "capsuularegular";
color: black; color: black;
font-size: 20px; font-size: 20px;
line-height: 25px; line-height: 25px;
} }
/* line 179, ../sass/order/_order.scss */
/* line 184, ../sass/order/_order.scss */
.order-order #app-order-order table#points-sale td.actions { .order-order #app-order-order table#points-sale td.actions {
width: 150px; width: 150px;
} }
/* line 181, ../sass/order/_order.scss */
/* line 186, ../sass/order/_order.scss */
.order-order #app-order-order table#points-sale td.actions button { .order-order #app-order-order table#points-sale td.actions button {
width: 100%; width: 100%;
} }
/* line 187, ../sass/order/_order.scss */
/* line 192, ../sass/order/_order.scss */
.order-order #app-order-order table#points-sale tr.selected td { .order-order #app-order-order table#points-sale tr.selected td {
background-color: white; background-color: white;
} }
/* line 195, ../sass/order/_order.scss */
/* line 200, ../sass/order/_order.scss */
.order-order #app-order-order table#products td.photo img { .order-order #app-order-order table#products td.photo img {
width: 100px; width: 100px;
} }
/* line 201, ../sass/order/_order.scss */
/* line 206, ../sass/order/_order.scss */
.order-order #app-order-order table#products td.name .name { .order-order #app-order-order table#products td.name .name {
font-family: "capsuularegular"; font-family: "capsuularegular";
color: black; color: black;
font-size: 20px; font-size: 20px;
line-height: 25px; line-height: 25px;
} }
/* line 207, ../sass/order/_order.scss */
/* line 212, ../sass/order/_order.scss */
.order-order #app-order-order table#products td.name .other { .order-order #app-order-order table#products td.name .other {
font-size: 14px; font-size: 14px;
color: #333; color: #333;
} }
/* line 211, ../sass/order/_order.scss */
/* line 216, ../sass/order/_order.scss */
.order-order #app-order-order table#products td.name .recipe { .order-order #app-order-order table#products td.name .recipe {
color: gray; color: gray;
} }
/* line 215, ../sass/order/_order.scss */
/* line 220, ../sass/order/_order.scss */
.order-order #app-order-order table#products .price-unit, .order-order #app-order-order table#products .price-total { .order-order #app-order-order table#products .price-unit, .order-order #app-order-order table#products .price-total {
width: 100px; width: 100px;
text-align: center; text-align: center;
} }
/* line 219, ../sass/order/_order.scss */
/* line 224, ../sass/order/_order.scss */
.order-order #app-order-order table#products .td-quantity { .order-order #app-order-order table#products .td-quantity {
width: 150px; width: 150px;
} }
/* line 221, ../sass/order/_order.scss */
/* line 226, ../sass/order/_order.scss */
.order-order #app-order-order table#products .td-quantity input.quantity { .order-order #app-order-order table#products .td-quantity input.quantity {
text-align: center; text-align: center;
} }
/* line 227, ../sass/order/_order.scss */
/* line 232, ../sass/order/_order.scss */
.order-order #app-order-order table#products tr.total .price-total { .order-order #app-order-order table#products tr.total .price-total {
font-size: 23px; font-size: 23px;
} }
/* line 234, ../sass/order/_order.scss */
/* line 239, ../sass/order/_order.scss */
.order-order #app-order-order #content-step-payment .credit { .order-order #app-order-order #content-step-payment .credit {
margin-top: 20px; margin-top: 20px;
} }
/* line 237, ../sass/order/_order.scss */
/* line 242, ../sass/order/_order.scss */
.order-order #app-order-order #content-step-payment .credit .info { .order-order #app-order-order #content-step-payment .credit .info {
margin-left: 20px; margin-left: 20px;
color: gray; color: gray;
} }
/* line 244, ../sass/order/_order.scss */
/* line 249, ../sass/order/_order.scss */
.order-order #app-order-order #infos { .order-order #app-order-order #infos {
margin-top: 30px; margin-top: 30px;
} }
/* line 246, ../sass/order/_order.scss */
/* line 251, ../sass/order/_order.scss */
.order-order #app-order-order #infos .panel-body { .order-order #app-order-order #infos .panel-body {
padding-top: 0px; padding-top: 0px;
white-space: pre-line; white-space: pre-line;

+ 0
- 1
producer/web/js/vuejs/order-order.js View File

this.dateFormat = ('0' + this.date.getDate()).slice(-2)+ '/' this.dateFormat = ('0' + this.date.getDate()).slice(-2)+ '/'
+ ('0' + (this.date.getMonth() +1)).slice(-2) + '/' + ('0' + (this.date.getMonth() +1)).slice(-2) + '/'
+ this.date.getFullYear() ; + this.date.getFullYear() ;
this.init() ;
this.changeStep('point-sale') ; this.changeStep('point-sale') ;
} }
}, },

+ 7
- 2
producer/web/sass/order/_order.scss View File

#steps { #steps {
margin-bottom: 20px ; margin-bottom: 20px ;
ul { ul {
margin-top: 30px ;
height: 70px ;
li { li {
text-align: center ; text-align: center ;
padding-right: 8px ; padding-right: 8px ;
.info-step { .info-step {
position: absolute ; position: absolute ;
top: -30px ;
top: 45px ;
left: 0px ; left: 0px ;
width: 100% ; width: 100% ;
text-transform: normal ; text-transform: normal ;
color: $color1 ;
font-family: 'capsuularegular' ;
font-size: 17px ;
font-weight: bold ;
} }
.glyphicon-chevron-right, .glyphicon-chevron-right,

Loading…
Cancel
Save