[Feature][R306BJ][task-view-1890][webui] add BJMTN buy bundle

Change-Id: Id4719d2d666c65d6b4957920815932ba14bff3ee
diff --git a/lynq/R306_MTN/BJMTN/ap/app/zte_webui/js/ext/set_realtek.js b/lynq/R306_MTN/BJMTN/ap/app/zte_webui/js/ext/set_realtek.js
index 0e66e18..164a5dc 100755
--- a/lynq/R306_MTN/BJMTN/ap/app/zte_webui/js/ext/set_realtek.js
+++ b/lynq/R306_MTN/BJMTN/ap/app/zte_webui/js/ext/set_realtek.js
@@ -24,6 +24,7 @@
         TURN_OFF_SUPPORT: false, //�Ƿ�֧�ֹػ�

 		WIFI_SLEEP_SUPPORT: false, // �Ƿ�֧��wifi����

         HAS_USSD: true, // 是否支持USSD功能,

+        HAS_BUY_BUNDLE: true, //是否支持购买服务

         WIFI_WAP3_SUPPORT: false, //是否支持wifi WAP3加密

         WIFI_WPA2_WAP3_SUPPORT: false, //是否支持wifi WPA2/WAP3兼容模式

         //station����ģʽ

diff --git a/lynq/R306_MTN/COMMON/ap/app/zte_webui/js/ext/set_realtek.js b/lynq/R306_MTN/COMMON/ap/app/zte_webui/js/ext/set_realtek.js
index 1aaee33..a532027 100755
--- a/lynq/R306_MTN/COMMON/ap/app/zte_webui/js/ext/set_realtek.js
+++ b/lynq/R306_MTN/COMMON/ap/app/zte_webui/js/ext/set_realtek.js
@@ -24,6 +24,7 @@
         TURN_OFF_SUPPORT: false, //�Ƿ�֧�ֹػ�

 		WIFI_SLEEP_SUPPORT: false, // �Ƿ�֧��wifi����

         HAS_USSD: true, // 是否支持USSD功能,

+        HAS_BUY_BUNDLE: false, //是否支持购买服务

         WIFI_WAP3_SUPPORT: false, //是否支持wifi WAP3加密

         WIFI_WPA2_WAP3_SUPPORT: false, //是否支持wifi WPA2/WAP3兼容模式

         //station����ģʽ

diff --git a/lynq/R306_MTN/ZMMTN/ap/app/zte_webui/js/ext/set_realtek.js b/lynq/R306_MTN/ZMMTN/ap/app/zte_webui/js/ext/set_realtek.js
index 0e66e18..4efd6a9 100755
--- a/lynq/R306_MTN/ZMMTN/ap/app/zte_webui/js/ext/set_realtek.js
+++ b/lynq/R306_MTN/ZMMTN/ap/app/zte_webui/js/ext/set_realtek.js
@@ -24,6 +24,7 @@
         TURN_OFF_SUPPORT: false, //�Ƿ�֧�ֹػ�

 		WIFI_SLEEP_SUPPORT: false, // �Ƿ�֧��wifi����

         HAS_USSD: true, // 是否支持USSD功能,

+        HAS_BUY_BUNDLE: false, //是否支持购买服务

         WIFI_WAP3_SUPPORT: false, //是否支持wifi WAP3加密

         WIFI_WPA2_WAP3_SUPPORT: false, //是否支持wifi WPA2/WAP3兼容模式

         //station����ģʽ

diff --git a/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_en.properties b/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_en.properties
index 990a181..cdaa9b4 100755
--- a/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_en.properties
+++ b/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_en.properties
@@ -1741,4 +1741,5 @@
 stun_interval_span = Seconds[10~86400]

 check_airtime = Check Airtime Balance

 check_data = Check Data Balance

-check_number = Check My Number
\ No newline at end of file
+check_number = Check My Number

+buy_bundle = Buy Bundle
\ No newline at end of file
diff --git a/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_fr.properties b/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_fr.properties
index f72682d..c1dadd7 100755
--- a/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_fr.properties
+++ b/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_fr.properties
@@ -1741,3 +1741,4 @@
 check_airtime = Balance Des Appels

 check_data = Balance Des Données

 check_number = Vérifiez Mon Numéro

+buy_bundle = Acheter Bundle

diff --git a/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_zh-cn.properties b/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_zh-cn.properties
index 8b06eef..fc5cb7e 100755
--- a/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_zh-cn.properties
+++ b/lynq/R306_MTN/ap/app/zte_webui/i18n/Messages_zh-cn.properties
@@ -1745,4 +1745,5 @@
 stun_interval_span = 秒[10~86400]

 check_airtime = 通话余额

 check_data = 数据余额

-check_number = 检查号码
\ No newline at end of file
+check_number = 检查号码

+buy_bundle = 购买套餐
\ No newline at end of file
diff --git a/lynq/R306_MTN/ap/app/zte_webui/js/com.js b/lynq/R306_MTN/ap/app/zte_webui/js/com.js
index 23af286..1998472 100755
--- a/lynq/R306_MTN/ap/app/zte_webui/js/com.js
+++ b/lynq/R306_MTN/ap/app/zte_webui/js/com.js
@@ -7885,6 +7885,7 @@
         target.notDataCard = set.PRODUCT_TYPE != 'DATACARD';

         target.hasParentalControl = set.HAS_PARENTAL_CONTROL;

         target.hasUssd = set.HAS_USSD;

+        target.hasBuyBundle = set.HAS_BUY_BUNDLE;

         var wifiInfo = fnc.getWifiBasic();

         if (set.WIFI_SUPPORT_QR_SWITCH) {

             target.showQRCode = set.WIFI_SUPPORT_QR_CODE && wifiInfo.show_qrcode_flag;

diff --git a/lynq/R306_MTN/ap/app/zte_webui/js/ext/set_realtek.js b/lynq/R306_MTN/ap/app/zte_webui/js/ext/set_realtek.js
index 0e66e18..4efd6a9 100755
--- a/lynq/R306_MTN/ap/app/zte_webui/js/ext/set_realtek.js
+++ b/lynq/R306_MTN/ap/app/zte_webui/js/ext/set_realtek.js
@@ -24,6 +24,7 @@
         TURN_OFF_SUPPORT: false, //�Ƿ�֧�ֹػ�

 		WIFI_SLEEP_SUPPORT: false, // �Ƿ�֧��wifi����

         HAS_USSD: true, // 是否支持USSD功能,

+        HAS_BUY_BUNDLE: false, //是否支持购买服务

         WIFI_WAP3_SUPPORT: false, //是否支持wifi WAP3加密

         WIFI_WPA2_WAP3_SUPPORT: false, //是否支持wifi WPA2/WAP3兼容模式

         //station����ģʽ

diff --git a/lynq/R306_MTN/ap/app/zte_webui/js/net.js b/lynq/R306_MTN/ap/app/zte_webui/js/net.js
index ce0f5c3..5afb1cb 100755
--- a/lynq/R306_MTN/ap/app/zte_webui/js/net.js
+++ b/lynq/R306_MTN/ap/app/zte_webui/js/net.js
@@ -2391,6 +2391,7 @@
         target.hasPhonebook = config.HAS_PHONEBOOK;

         target.isSupportSD = config.SD_CARD_SUPPORT;

         target.hasUssd = config.HAS_USSD;

+        target.hasBuyBundle = config.HAS_BUY_BUNDLE;

         if (config.WIFI_SUPPORT_QR_SWITCH == false) {

             target.showQRCode = config.WIFI_SUPPORT_QR_CODE;

         } else {

diff --git a/lynq/R306_MTN/ap/app/zte_webui/js/sim_device.js b/lynq/R306_MTN/ap/app/zte_webui/js/sim_device.js
index 54d3443..239edb5 100755
--- a/lynq/R306_MTN/ap/app/zte_webui/js/sim_device.js
+++ b/lynq/R306_MTN/ap/app/zte_webui/js/sim_device.js
@@ -39,6 +39,7 @@
         target.hasPhonebook = config.HAS_PHONEBOOK;

         target.isSupportSD = config.SD_CARD_SUPPORT;

         target.hasUssd = config.HAS_USSD;

+        target.hasBuyBundle = config.HAS_BUY_BUNDLE;

         if (config.WIFI_SUPPORT_QR_SWITCH) {

             var wifiInfo = service.getWifiBasic();

             target.showQRCode = config.WIFI_SUPPORT_QR_CODE && wifiInfo.show_qrcode_flag;

diff --git a/lynq/R306_MTN/ap/app/zte_webui/subpg/main.html b/lynq/R306_MTN/ap/app/zte_webui/subpg/main.html
index d789de4..84abea6 100755
--- a/lynq/R306_MTN/ap/app/zte_webui/subpg/main.html
+++ b/lynq/R306_MTN/ap/app/zte_webui/subpg/main.html
@@ -9,6 +9,7 @@
 		<li><a href="#sdcard" data-bind="visible: isSupportSD" data-trans="sd" class="c2175FF"></a></li>

 		<li><a data-bind="attr: {href: notDataCard? '#route_set' : '#demilitarized_zone'}" data-trans="advanced_settings" class="cFFCE2B"></a></li>

 		<li><a href="#fast_set" data-bind="visible: isSupportQuicksetting()" data-trans="quick_setting" class="cFFCE2B"></a></li>

+		<li><a href="https://my.mtn.bj/mon-routeur" target="_blank" data-bind="visible:hasBuyBundle" data-trans="buy_bundle"></a></li>

 	</ul>

 </div>

 </div>

diff --git a/lynq/R306_MTN/ap/app/zte_webui/subpg/sim_abnormal.html b/lynq/R306_MTN/ap/app/zte_webui/subpg/sim_abnormal.html
index 32c26ba..3a101d6 100755
--- a/lynq/R306_MTN/ap/app/zte_webui/subpg/sim_abnormal.html
+++ b/lynq/R306_MTN/ap/app/zte_webui/subpg/sim_abnormal.html
@@ -114,6 +114,7 @@
 			<li><a data-bind="visible: isSupportSD" data-trans="sd" href="#sdcard"></a></li>

 			<li><a data-trans="advanced_settings" href="#route_set"></a></li>

 			<!--li data-bind="visible: showNetSettings"><a href="#network_set" data-trans="settings_internet"></a></li-->

+            <li><a href="https://my.mtn.bj/mon-routeur" target="_blank" data-bind="visible:hasBuyBundle" data-trans="buy_bundle"></a></li>

 		</ul>

 	</div>

 	<div id="h_qrcode" data-bind="visible: showQRCode" style="float:right" class="text-center margin-top-15">

diff --git a/lynq/S300/BJMTN/ap/app/zte_webui/js/com.js b/lynq/S300/BJMTN/ap/app/zte_webui/js/com.js
index 265ab6c..5c38955 100755
--- a/lynq/S300/BJMTN/ap/app/zte_webui/js/com.js
+++ b/lynq/S300/BJMTN/ap/app/zte_webui/js/com.js
@@ -7884,6 +7884,7 @@
         target.notDataCard = set.PRODUCT_TYPE != 'DATACARD';

         target.hasParentalControl = set.HAS_PARENTAL_CONTROL;

         target.hasUssd = set.HAS_USSD;

+        target.hasBuyBundle = set.HAS_BUY_BUNDLE;

         var wifiInfo = fnc.getWifiBasic();

         if (set.WIFI_SUPPORT_QR_SWITCH) {

             target.showQRCode = set.WIFI_SUPPORT_QR_CODE && wifiInfo.show_qrcode_flag;

diff --git a/lynq/S300/BJMTN/ap/app/zte_webui/js/ext/set_realtek.js b/lynq/S300/BJMTN/ap/app/zte_webui/js/ext/set_realtek.js
index 946bb21..ff95585 100755
--- a/lynq/S300/BJMTN/ap/app/zte_webui/js/ext/set_realtek.js
+++ b/lynq/S300/BJMTN/ap/app/zte_webui/js/ext/set_realtek.js
@@ -24,6 +24,7 @@
         TURN_OFF_SUPPORT: false, //�Ƿ�֧�ֹػ�

 		WIFI_SLEEP_SUPPORT: false, // �Ƿ�֧��wifi����

         HAS_USSD: true, // 是否支持USSD功能,

+        HAS_BUY_BUNDLE: true, //是否支持购买服务

         WIFI_WAP3_SUPPORT: false, //是否支持wifi WAP3加密

         WIFI_WPA2_WAP3_SUPPORT: false, //是否支持wifi WPA2/WAP3兼容模式

         //station����ģʽ

diff --git a/lynq/S300/ap/app/zte_webui/i18n/Messages_en.properties b/lynq/S300/ap/app/zte_webui/i18n/Messages_en.properties
index d6d1ebe..57a4ba7 100755
--- a/lynq/S300/ap/app/zte_webui/i18n/Messages_en.properties
+++ b/lynq/S300/ap/app/zte_webui/i18n/Messages_en.properties
@@ -1739,3 +1739,7 @@
 stun_limit_span = Seconds[5~86400]

 periodic_interval_span = Seconds[20~86400]

 stun_interval_span = Seconds[10~86400]

+check_airtime = Check Airtime Balance

+check_data = Check Data Balance

+check_number = Check My Number

+buy_bundle = Buy Bundle
\ No newline at end of file
diff --git a/lynq/S300/ap/app/zte_webui/i18n/Messages_fr.properties b/lynq/S300/ap/app/zte_webui/i18n/Messages_fr.properties
index 4745de7..8fbe46b 100755
--- a/lynq/S300/ap/app/zte_webui/i18n/Messages_fr.properties
+++ b/lynq/S300/ap/app/zte_webui/i18n/Messages_fr.properties
@@ -1742,3 +1742,4 @@
 check_airtime = Balance Des Appels

 check_data = Balance Des Données

 check_number = Vérifiez Mon Numéro

+buy_bundle = Acheter Bundle

diff --git a/lynq/S300/ap/app/zte_webui/i18n/Messages_zh-cn.properties b/lynq/S300/ap/app/zte_webui/i18n/Messages_zh-cn.properties
index 83d1ace..e50a810 100755
--- a/lynq/S300/ap/app/zte_webui/i18n/Messages_zh-cn.properties
+++ b/lynq/S300/ap/app/zte_webui/i18n/Messages_zh-cn.properties
@@ -1743,3 +1743,7 @@
 stun_limit_span = 秒[5~86400]

 periodic_interval_span = 秒[20~86400]

 stun_interval_span = 秒[10~86400]

+check_airtime = 通话余额

+check_data = 数据余额

+check_number = 检查号码

+buy_bundle = 购买套餐
\ No newline at end of file
diff --git a/lynq/S300/ap/app/zte_webui/js/com.js b/lynq/S300/ap/app/zte_webui/js/com.js
index 3078ac1..abadded 100755
--- a/lynq/S300/ap/app/zte_webui/js/com.js
+++ b/lynq/S300/ap/app/zte_webui/js/com.js
@@ -7885,6 +7885,7 @@
         target.notDataCard = set.PRODUCT_TYPE != 'DATACARD';

         target.hasParentalControl = set.HAS_PARENTAL_CONTROL;

         target.hasUssd = set.HAS_USSD;

+        target.hasBuyBundle = set.HAS_BUY_BUNDLE;

         var wifiInfo = fnc.getWifiBasic();

         if (set.WIFI_SUPPORT_QR_SWITCH) {

             target.showQRCode = set.WIFI_SUPPORT_QR_CODE && wifiInfo.show_qrcode_flag;

diff --git a/lynq/S300/ap/app/zte_webui/js/ext/set_realtek.js b/lynq/S300/ap/app/zte_webui/js/ext/set_realtek.js
index fd4d01e..e0d09c5 100755
--- a/lynq/S300/ap/app/zte_webui/js/ext/set_realtek.js
+++ b/lynq/S300/ap/app/zte_webui/js/ext/set_realtek.js
@@ -24,6 +24,7 @@
         TURN_OFF_SUPPORT: false, //�Ƿ�֧�ֹػ�

 		WIFI_SLEEP_SUPPORT: false, // �Ƿ�֧��wifi����

         HAS_USSD: false, // 是否支持USSD功能,

+        HAS_BUY_BUNDLE: false, //是否支持购买服务

         WIFI_WAP3_SUPPORT: false, //是否支持wifi WAP3加密

         WIFI_WPA2_WAP3_SUPPORT: false, //是否支持wifi WPA2/WAP3兼容模式

         //station����ģʽ

diff --git a/lynq/S300/ap/app/zte_webui/js/net.js b/lynq/S300/ap/app/zte_webui/js/net.js
index f90b05c..f19fbbc 100755
--- a/lynq/S300/ap/app/zte_webui/js/net.js
+++ b/lynq/S300/ap/app/zte_webui/js/net.js
@@ -2391,6 +2391,7 @@
         target.hasPhonebook = config.HAS_PHONEBOOK;

         target.isSupportSD = config.SD_CARD_SUPPORT;

         target.hasUssd = config.HAS_USSD;

+        target.hasBuyBundle = config.HAS_BUY_BUNDLE;

         if (config.WIFI_SUPPORT_QR_SWITCH == false) {

             target.showQRCode = config.WIFI_SUPPORT_QR_CODE;

         } else {

diff --git a/lynq/S300/ap/app/zte_webui/js/sim_device.js b/lynq/S300/ap/app/zte_webui/js/sim_device.js
index 54d3443..239edb5 100755
--- a/lynq/S300/ap/app/zte_webui/js/sim_device.js
+++ b/lynq/S300/ap/app/zte_webui/js/sim_device.js
@@ -39,6 +39,7 @@
         target.hasPhonebook = config.HAS_PHONEBOOK;

         target.isSupportSD = config.SD_CARD_SUPPORT;

         target.hasUssd = config.HAS_USSD;

+        target.hasBuyBundle = config.HAS_BUY_BUNDLE;

         if (config.WIFI_SUPPORT_QR_SWITCH) {

             var wifiInfo = service.getWifiBasic();

             target.showQRCode = config.WIFI_SUPPORT_QR_CODE && wifiInfo.show_qrcode_flag;

diff --git a/lynq/S300/ap/app/zte_webui/subpg/main.html b/lynq/S300/ap/app/zte_webui/subpg/main.html
index 6dccacf..8a3fa27 100755
--- a/lynq/S300/ap/app/zte_webui/subpg/main.html
+++ b/lynq/S300/ap/app/zte_webui/subpg/main.html
@@ -9,6 +9,7 @@
 		<li><a href="#sdcard" data-bind="visible: isSupportSD" data-trans="sd" class="c2175FF"></a></li>

 		<li><a data-bind="attr: {href: notDataCard? '#route_set' : '#demilitarized_zone'}" data-trans="advanced_settings" class="cFFCE2B"></a></li>

 		<li><a href="#fast_set" data-bind="visible: isSupportQuicksetting()" data-trans="quick_setting" class="cFFCE2B"></a></li>

+		<li><a href="https://my.mtn.bj/mon-routeur" target="_blank" data-bind="visible:hasBuyBundle" data-trans="buy_bundle"></a></li>

 	</ul>

 </div>

 </div>

diff --git a/lynq/S300/ap/app/zte_webui/subpg/sim_abnormal.html b/lynq/S300/ap/app/zte_webui/subpg/sim_abnormal.html
index 32c26ba..3a101d6 100755
--- a/lynq/S300/ap/app/zte_webui/subpg/sim_abnormal.html
+++ b/lynq/S300/ap/app/zte_webui/subpg/sim_abnormal.html
@@ -114,6 +114,7 @@
 			<li><a data-bind="visible: isSupportSD" data-trans="sd" href="#sdcard"></a></li>

 			<li><a data-trans="advanced_settings" href="#route_set"></a></li>

 			<!--li data-bind="visible: showNetSettings"><a href="#network_set" data-trans="settings_internet"></a></li-->

+            <li><a href="https://my.mtn.bj/mon-routeur" target="_blank" data-bind="visible:hasBuyBundle" data-trans="buy_bundle"></a></li>

 		</ul>

 	</div>

 	<div id="h_qrcode" data-bind="visible: showQRCode" style="float:right" class="text-center margin-top-15">