| Line 2550... |
Line 2550... |
| 2550 |
Expected delivery date for your order is $expected_delivery_date.
|
2550 |
Expected delivery date for your order is $expected_delivery_date.
|
| 2551 |
The product can be delivered to you between business hours of 10am to 6pm.
|
2551 |
The product can be delivered to you between business hours of 10am to 6pm.
|
| 2552 |
You can login to your account on our site and under "Open Orders", please click the AWB and check the current shipment updates for your product.
|
2552 |
You can login to your account on our site and under "Open Orders", please click the AWB and check the current shipment updates for your product.
|
| 2553 |
</p>
|
2553 |
</p>
|
| 2554 |
<p>
|
2554 |
<p>
|
| 2555 |
For scheduling the delivery of your product at some specific timings, we recommend you to contact the helpline for Bluedart/Aramex with your complete AWB#.
|
2555 |
For scheduling the delivery of your product at some specific timings, we recommend you to contact the helpline for $courier_name with your complete AWB#.
|
| 2556 |
</p>
|
2556 |
</p>
|
| 2557 |
<p>$courier_name: $courier_phone</p>
|
2557 |
<p>$courier_name: $courier_phone</p>
|
| 2558 |
<p>
|
2558 |
<p>
|
| 2559 |
Warm Regards,<br />
|
2559 |
Warm Regards,<br />
|
| 2560 |
Saholic Team
|
2560 |
Saholic Team
|
| 2561 |
</p>
|
2561 |
</p>
|
| 2562 |
</div>
|
2562 |
</div>
|
| 2563 |
</body>
|
2563 |
</body>
|
| 2564 |
</html>
|
2564 |
</html>
|
| 2565 |
"""
|
2565 |
"""
|
| 2566 |
logistics_providers = {1: {'name': 'BlueDart', 'phone': '011-66111234'}, 2: {'name': 'Aramex', 'phone': '0124- 39419900'}}
|
2566 |
logistics_providers = {1: {'name': 'BlueDart', 'phone': '011-66111234'}, 2: {'name': 'Aramex', 'phone': '0124- 39419900'}, 3: {'name': 'Delhivery', 'phone' : '0124- 4212200'}}
|
| 2567 |
provider_name = logistics_providers[order.logistics_provider_id]['name']
|
2567 |
provider_name = logistics_providers[order.logistics_provider_id]['name']
|
| 2568 |
provider_phone = logistics_providers[order.logistics_provider_id]['phone']
|
2568 |
provider_phone = logistics_providers[order.logistics_provider_id]['phone']
|
| 2569 |
|
2569 |
|
| 2570 |
dt = datetime.datetime.strptime(str(order.shipping_timestamp), "%Y-%m-%d %H:%M:%S")
|
2570 |
dt = datetime.datetime.strptime(str(order.shipping_timestamp), "%Y-%m-%d %H:%M:%S")
|
| 2571 |
shipping_date = dt.strftime("%A, %d %B %Y %I:%M%p")
|
2571 |
shipping_date = dt.strftime("%A, %d %B %Y %I:%M%p")
|