@@ -62,33 +62,80 @@ public function data(Datasetter $datasetter): void
62
62
"is_hidden " => 1 ,
63
63
]);
64
64
65
- $ billing_cycle_id = DB ::table ('isp_billing_cycle ' )->where ('slug ' , '1-month ' )->value ('id ' );
66
-
65
+ $ billing_cycle_id = DB ::table ('isp_billing_cycle ' )->where ('slug ' , '1-hour ' )->value ('id ' );
67
66
$ datasetter ->add_data ('isp ' , 'package ' , 'slug ' , [
68
- "title " => "1M Hotspot " ,
69
- "slug " => "1m-hotspot " ,
67
+ "title " => "1 Hr " ,
70
68
"pool " => "dhcp " ,
71
- "description " => "1M Hotspot " ,
69
+ "description " => "1 Hour " ,
72
70
"gateway_id " => $ gateway_id ,
73
71
"billing_cycle_id " => $ billing_cycle_id ,
74
- "amount " => 100 ,
75
- "speed " => "1 " ,
76
- "speed_type " => "megabyte " ,
72
+ "amount " => 5 ,
77
73
"published " => true ,
78
74
"featured " => 0 ,
79
75
"is_hidden " => 0 ,
80
76
]);
81
77
78
+ $ billing_cycle_id = DB ::table ('isp_billing_cycle ' )->where ('slug ' , '3-hour ' )->value ('id ' );
82
79
$ datasetter ->add_data ('isp ' , 'package ' , 'slug ' , [
83
- "title " => "2M Hotspot " ,
84
- "slug " => "2m-hotspot " ,
80
+ "title " => "3 Hr " ,
85
81
"pool " => "dhcp " ,
86
- "description " => "2M Hotspot " ,
82
+ "description " => "3 Hour " ,
87
83
"gateway_id " => $ gateway_id ,
88
84
"billing_cycle_id " => $ billing_cycle_id ,
89
- "amount " => 150 ,
90
- "speed " => "2 " ,
91
- "speed_type " => "megabyte " ,
85
+ "amount " => 10 ,
86
+ "published " => true ,
87
+ "featured " => 0 ,
88
+ "is_hidden " => 0 ,
89
+ ]);
90
+
91
+ $ billing_cycle_id = DB ::table ('isp_billing_cycle ' )->where ('slug ' , '12-hour ' )->value ('id ' );
92
+ $ datasetter ->add_data ('isp ' , 'package ' , 'slug ' , [
93
+ "title " => "12 Hr " ,
94
+ "pool " => "dhcp " ,
95
+ "description " => "12 Hour " ,
96
+ "gateway_id " => $ gateway_id ,
97
+ "billing_cycle_id " => $ billing_cycle_id ,
98
+ "amount " => 50 ,
99
+ "published " => true ,
100
+ "featured " => 0 ,
101
+ "is_hidden " => 0 ,
102
+ ]);
103
+
104
+ $ billing_cycle_id = DB ::table ('isp_billing_cycle ' )->where ('slug ' , '1-day ' )->value ('id ' );
105
+ $ datasetter ->add_data ('isp ' , 'package ' , 'slug ' , [
106
+ "title " => "1 Day " ,
107
+ "pool " => "dhcp " ,
108
+ "description " => "1 Day " ,
109
+ "gateway_id " => $ gateway_id ,
110
+ "billing_cycle_id " => $ billing_cycle_id ,
111
+ "amount " => 90 ,
112
+ "published " => true ,
113
+ "featured " => 0 ,
114
+ "is_hidden " => 0 ,
115
+ ]);
116
+
117
+ $ billing_cycle_id = DB ::table ('isp_billing_cycle ' )->where ('slug ' , '2-week ' )->value ('id ' );
118
+ $ datasetter ->add_data ('isp ' , 'package ' , 'slug ' , [
119
+ "title " => "2 Wk " ,
120
+ "pool " => "dhcp " ,
121
+ "description " => "2 Week " ,
122
+ "gateway_id " => $ gateway_id ,
123
+ "billing_cycle_id " => $ billing_cycle_id ,
124
+ "amount " => 250 ,
125
+ "published " => true ,
126
+ "featured " => 0 ,
127
+ "is_hidden " => 0 ,
128
+ ]);
129
+
130
+ $ billing_cycle_id = DB ::table ('isp_billing_cycle ' )->where ('slug ' , '1-month ' )->value ('id ' );
131
+ $ datasetter ->add_data ('isp ' , 'package ' , 'slug ' , [
132
+ "title " => "1 Mth " ,
133
+ "slug " => "1-mth " ,
134
+ "pool " => "dhcp " ,
135
+ "description " => "1 Month " ,
136
+ "gateway_id " => $ gateway_id ,
137
+ "billing_cycle_id " => $ billing_cycle_id ,
138
+ "amount " => 500 ,
92
139
"published " => true ,
93
140
"featured " => 1 ,
94
141
"is_hidden " => 0 ,
0 commit comments