Remove address and phone number from order
This commit is contained in:
parent
5a3188bef8
commit
92411b219a
|
|
@ -32,8 +32,8 @@ function onStart() {
|
|||
<div class="flex items-center mt-3"> <i data-lucide="user" class="w-4 h-4 text-slate-500 mr-2"></i>
|
||||
{{'order.customer.title'|_}}: <a href="" class="ml-1" id="order_customer"></a> </div>
|
||||
|
||||
<div class="flex items-center mt-3"> <i data-lucide="phone" class="w-4 h-4 text-slate-500 mr-2"></i>
|
||||
{{'order.phone.title'|_}}: <a href="" class="ml-1" id="order_phone"></a> </div>
|
||||
<!-- <div class="flex items-center mt-3"> <i data-lucide="phone" class="w-4 h-4 text-slate-500 mr-2"></i>-->
|
||||
<!-- {{'order.phone.title'|_}}: <a href="" class="ml-1" id="order_phone"></a> </div>-->
|
||||
|
||||
<div class="flex items-center mt-3"> <i data-lucide="calendar" class="w-4 h-4 text-slate-500 mr-2"></i>
|
||||
{{'order.date'|_}}: <a href="" class="ml-1" id="order_date"></a> </div>
|
||||
|
|
@ -41,9 +41,9 @@ function onStart() {
|
|||
<div class="flex items-center mt-3"> <i data-lucide="package" class="w-4 h-4 text-slate-500 mr-2"></i>
|
||||
{{'order.status.title'|_}} <span class="bg-success/20 text-success rounded px-2 ml-1" id="order_status"></span>
|
||||
</div>
|
||||
<div class="flex items-center mt-3"> <i data-lucide="map-pin" class="w-4 h-4 text-slate-500 mr-2"></i>
|
||||
{{'order.address'|_}} <a href="" class="ml-1" id="order_address"></a>
|
||||
</div>
|
||||
<!-- <div class="flex items-center mt-3"> <i data-lucide="map-pin" class="w-4 h-4 text-slate-500 mr-2"></i>-->
|
||||
<!-- {{'order.address'|_}} <a href="" class="ml-1" id="order_address"></a>-->
|
||||
<!-- </div>-->
|
||||
<div class="flex items-center border-t border-slate-200/60 dark:border-darkmode-400 pt-5 mt-5 font-medium">
|
||||
<i data-lucide="credit-card" class="w-4 h-4 text-slate-500 mr-2"></i> {{'grand.total.title'|_}}
|
||||
<div class="ml-auto" id="order_total"></div>
|
||||
|
|
|
|||
|
|
@ -57,9 +57,9 @@
|
|||
$('#order_total').html(order.grand_total + " TMT");
|
||||
$('#order_customer').html(order.order.customer_first_name);
|
||||
$('#order_no').html("#Sargyt "+order.order.id);
|
||||
$('#order_phone').html(order.order.customer.phone);
|
||||
// $('#order_phone').html(order.order.customer.phone);
|
||||
$('#order_date').html(formatDate(order.created_at));
|
||||
$('#order_address').html(order.order.shipping_address[0].address1);
|
||||
// $('#order_address').html(order.order.shipping_address[0].address1);
|
||||
|
||||
|
||||
for (var item of orderItems) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue