| Line 74... |
Line 74... |
| 74 |
topup_company_wallet, get_wallet_balance_for_company, \
|
74 |
topup_company_wallet, get_wallet_balance_for_company, \
|
| 75 |
add_amazon_order, update_amazon_order_status,get_amazon_order, get_amazon_orders_shipped, \
|
75 |
add_amazon_order, update_amazon_order_status,get_amazon_order, get_amazon_orders_shipped, \
|
| 76 |
get_amazon_orders_cancelled, get_orders_for_store, get_store_order_advance_invoice, add_frc, \
|
76 |
get_amazon_orders_cancelled, get_orders_for_store, get_store_order_advance_invoice, add_frc, \
|
| 77 |
add_series, get_store_order_detail, save_store_order_detail, get_all_edc_banks, \
|
77 |
add_series, get_store_order_detail, save_store_order_detail, get_all_edc_banks, \
|
| 78 |
save_refund_amounts_for_store_order, get_collections_for_store,get_amazon_orders_to_acknowledge, \
|
78 |
save_refund_amounts_for_store_order, get_collections_for_store,get_amazon_orders_to_acknowledge, \
|
| 79 |
change_amazon_order_status,update_timestamp_for_amazon_order,update_source_detail_timestamp,get_amazon_order_by_amazonorderid
|
79 |
change_amazon_order_status,update_timestamp_for_amazon_order,update_source_detail_timestamp,get_amazon_order_by_amazonorderid,\
|
| - |
|
80 |
change_courier_provider
|
| 80 |
|
81 |
|
| 81 |
from shop2020.model.v1.order.impl.model.DTHRechargeOrder import DTHRechargeOrder
|
82 |
from shop2020.model.v1.order.impl.model.DTHRechargeOrder import DTHRechargeOrder
|
| 82 |
from shop2020.model.v1.order.impl.model.DigitalTransaction import \
|
83 |
from shop2020.model.v1.order.impl.model.DigitalTransaction import \
|
| 83 |
DigitalTransaction
|
84 |
DigitalTransaction
|
| 84 |
from shop2020.model.v1.order.impl.model.MobileRechargeOrder import \
|
85 |
from shop2020.model.v1.order.impl.model.MobileRechargeOrder import \
|
| Line 1198... |
Line 1199... |
| 1198 |
try:
|
1199 |
try:
|
| 1199 |
order = change_product(orderId, itemId)
|
1200 |
order = change_product(orderId, itemId)
|
| 1200 |
return to_t_order(order)
|
1201 |
return to_t_order(order)
|
| 1201 |
finally:
|
1202 |
finally:
|
| 1202 |
close_session()
|
1203 |
close_session()
|
| - |
|
1204 |
|
| - |
|
1205 |
def changeCourierProvider(self, orderId, providerId):
|
| - |
|
1206 |
try:
|
| - |
|
1207 |
order = change_courier_provider(orderId, providerId)
|
| - |
|
1208 |
return to_t_order(order)
|
| - |
|
1209 |
finally:
|
| - |
|
1210 |
close_session()
|
| - |
|
1211 |
|
| 1203 |
|
1212 |
|
| 1204 |
def shiftToWarehouse(self, orderId, warehouseId):
|
1213 |
def shiftToWarehouse(self, orderId, warehouseId):
|
| 1205 |
"""
|
1214 |
"""
|
| 1206 |
Moves the given order to the given warehouse. Also adjusts the inventory reservations accordingly.
|
1215 |
Moves the given order to the given warehouse. Also adjusts the inventory reservations accordingly.
|
| 1207 |
|
1216 |
|