2017-10-18 14:51:26 +01:00
|
|
|
from flask import render_template
|
2018-02-20 11:22:17 +00:00
|
|
|
|
2017-08-08 10:24:54 +01:00
|
|
|
from app import inbound_number_client
|
2018-02-20 11:22:17 +00:00
|
|
|
from app.main import main
|
2021-06-09 13:19:05 +01:00
|
|
|
from app.utils.user import user_is_platform_admin
|
2017-08-08 10:24:54 +01:00
|
|
|
|
|
|
|
|
|
2023-08-25 09:12:23 -07:00
|
|
|
@main.route("/inbound-sms-admin", methods=["GET", "POST"])
|
2018-02-27 16:45:20 +00:00
|
|
|
@user_is_platform_admin
|
2017-08-08 10:24:54 +01:00
|
|
|
def inbound_sms_admin():
|
2017-08-10 10:29:31 +01:00
|
|
|
data = inbound_number_client.get_all_inbound_sms_number_service()
|
2017-08-08 10:24:54 +01:00
|
|
|
|
2023-08-25 09:12:23 -07:00
|
|
|
return render_template("views/inbound-sms-admin.html", inbound_num_list=data)
|