sub office
This commit is contained in:
@@ -291,7 +291,20 @@ def get_customer_office():
|
||||
|
||||
response = OfficeCustomerService.get_customer_data(filters)
|
||||
return response
|
||||
# return jsonify(result)
|
||||
|
||||
@api.route('/office/subcriptions', methods=['GET'])
|
||||
# @token_required
|
||||
def get_subcriptions_list_office():
|
||||
# Call the dashboard service
|
||||
filters = {
|
||||
'product_id': request.args.get('product_id'),
|
||||
'member_id': request.args.get('member_id'),
|
||||
'page': request.args.get('page', 1),
|
||||
'limit': request.args.get('limit', 20)
|
||||
}
|
||||
|
||||
response = SubscriptionService.get_subscription_data(filters)
|
||||
return response
|
||||
|
||||
@api.route('/office/transaction', methods=['GET'])
|
||||
# @token_required
|
||||
|
||||
Reference in New Issue
Block a user