Barcode | Product | P.U | Qty | Subtotal |
---|---|---|---|---|
{{ product.barcode is defined ? product.barcode : '' }} | {{ product.name is defined ? product.name : '' }} | {{ product.price is defined ? product.price : '' }} | {{ product.qty is defined ? product.qty : ''}} | {{ product.price * product.qty }} |
{{ order.voucher.code }} | {{ order.voucher.name}} | -{{ voucherAmount }} | ||
{{ order.voucher.code }} | {{ order.voucher.name}} |
Note :
{{ order.notes }}
Details
Subtotal: | {{ subtotal }} |
---|---|
Shipping: | {{ order.shippingPrice }} |
Total: | {{ subtotal + order.shippingPrice }} |
Num | Id | Sub Total | Shipping | Created At | Process | Product | Shipping | New Order | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ index }} | {{ order.id }} | {% set total = 0 %} {% for item in order.data %} {% set total = total + (item.price * item.qty) %} {% endfor %} {% if order.voucher is not null and order.voucher.application == constant('App\\Entity\\Power\\Voucher::APPLICATION_TYPE_PRODUCT') %} {% if order.voucher.discountType == constant('App\\Entity\\Power\\Voucher::DISCOUNT_TYPE_FIX') %} {% set total = total - order.voucher.discountValue %} {% elseif order.voucher.discountType == constant('App\\Entity\\Power\\Voucher::DISCOUNT_TYPE_PERCENT') %} {% set total = total - (total * (order.voucher.discountValue/100)) %} {% endif %} {% set total = (total < 0) ? 0 : total %} {% endif %} {{ total }} | {{ order.shippingPrice }} | {{ order.createdAt|date("d/m/Y") }} | {% if order.reviews is not null %}{{ order.reviews.feedbackProcess}} | {{ order.reviews.feedbackProduct}} | {{ order.reviews.feedbackShipping}} | {{ order.reviews.possibilityOfOtherOrder == 0 ? "No" : "Yes" }} | {% else %}-- | -- | -- | -- | {% endif %}