Completed
Push — master ( 32345e...fde4fb )
by Bhanu
105:15 queued 50:04
created
migrations/2017_01_22_103851_create_product_bundle_relations_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('product_bundle_relations', function (Blueprint $table) {
15
+        Schema::create('product_bundle_relations', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('product_id')->unsigned();
18 18
             $table->foreign('product_id')->references('id')->on('products');
Please login to merge, or discard this patch.
database/migrations/2016_01_28_061648_create_group_features_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('group_features', function (Blueprint $table) {
15
+        Schema::create('group_features', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('group_id')->unsigned();
18 18
             $table->foreign('group_id')->references('id')->on('product_groups');
Please login to merge, or discard this patch.
database/migrations/2016_02_15_131004_create_widgets_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('widgets', function (Blueprint $table) {
15
+        Schema::create('widgets', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->string('type');
Please login to merge, or discard this patch.
database/migrations/2016_01_12_043314_create_promotion_types_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('promotion_types', function (Blueprint $table) {
15
+        Schema::create('promotion_types', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->timestamps();
Please login to merge, or discard this patch.
database/migrations/2016_02_08_093841_create_plans_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('plans', function (Blueprint $table) {
15
+        Schema::create('plans', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->string('description');
Please login to merge, or discard this patch.
migrations/2017_01_27_131931_create_promo_product_relations_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('promo_product_relations', function (Blueprint $table) {
15
+        Schema::create('promo_product_relations', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('promotion_id')->unsigned();
18 18
             $table->foreign('promotion_id')->references('id')->on('promotions');
Please login to merge, or discard this patch.
app/Http/Controllers/Front/PageController.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,6 @@  discard block
 block discarded – undo
148 148
     /**
149 149
      * Remove the specified resource from storage.
150 150
      *
151
-     * @param int $id
152 151
      *
153 152
      * @return Response
154 153
      */
@@ -209,6 +208,9 @@  discard block
 block discarded – undo
209 208
         }
210 209
     }
211 210
 
211
+    /**
212
+     * @param FrontendPage $model
213
+     */
212 214
     public function Result($search, $model)
213 215
     {
214 216
         try {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,14 +31,14 @@
 block discarded – undo
31 31
     public function GetPages()
32 32
     {
33 33
         return \Datatable::collection($this->page->get())
34
-                        ->addColumn('#', function ($model) {
34
+                        ->addColumn('#', function($model) {
35 35
                             return "<input type='checkbox' value=".$model->id.' name=select[] id=check>';
36 36
                         })
37 37
                         ->showColumns('name', 'url', 'created_at')
38
-                        ->addColumn('content', function ($model) {
38
+                        ->addColumn('content', function($model) {
39 39
                             return str_limit($model->content, 10, '...');
40 40
                         })
41
-                        ->addColumn('action', function ($model) {
41
+                        ->addColumn('action', function($model) {
42 42
                             return '<a href='.url('pages/'.$model->id.'/edit')." class='btn btn-sm btn-primary'>Edit</a>";
43 43
                         })
44 44
                         ->searchColumns('name', 'content')
Please login to merge, or discard this patch.
app/Http/Controllers/Front/WidgetController.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,6 @@
 block discarded – undo
92 92
     /**
93 93
      * Remove the specified resource from storage.
94 94
      *
95
-     * @param int $id
96 95
      *
97 96
      * @return Response
98 97
      */
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,14 +31,14 @@
 block discarded – undo
31 31
     public function GetPages()
32 32
     {
33 33
         return \Datatable::collection($this->page->get())
34
-                        ->addColumn('#', function ($model) {
34
+                        ->addColumn('#', function($model) {
35 35
                             return "<input type='checkbox' value=".$model->id.' name=select[] id=check>';
36 36
                         })
37 37
                         ->showColumns('name', 'url', 'created_at')
38
-                        ->addColumn('content', function ($model) {
38
+                        ->addColumn('content', function($model) {
39 39
                             return str_limit($model->content, 10, '...');
40 40
                         })
41
-                        ->addColumn('action', function ($model) {
41
+                        ->addColumn('action', function($model) {
42 42
                             return '<a href='.url('pages/'.$model->id.'/edit')." class='btn btn-sm btn-primary'>Edit</a>";
43 43
                         })
44 44
                         ->searchColumns('name', 'content')
Please login to merge, or discard this patch.
app/Http/Controllers/Licence/LicenceOrderController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use App\Http\Controllers\Controller;
6 6
 use App\Model\Licence\LicencedOrganization;
7 7
 use App\Organization;
8
-use Illuminate\Http\Request;
9 8
 
10 9
 class LicenceOrderController extends Controller
11 10
 {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@
 block discarded – undo
36 36
     public function GetOrders()
37 37
     {
38 38
         return \Datatable::collection($this->LicencedOrg->get())
39
-                        ->addColumn('organization', function ($model) {
39
+                        ->addColumn('organization', function($model) {
40 40
                             $org = $this->org->where('id', $model->organization_id)->first();
41 41
 
42 42
                             return '<a href='.url('organization/'.$org->id).'>'.ucfirst($org->name).'</a>';
43 43
                         })
44 44
                         ->showColumns('licence_name', 'licence_description', 'number_of_sla', 'price', 'payment_status')
45
-                        ->addColumn('action', function ($model) {
45
+                        ->addColumn('action', function($model) {
46 46
                             return '<a href='.url('licence-orders/'.$model->id.'/edit')." class='btn btn-sm btn-primary'>Edit</a>";
47 47
                         })
48 48
 
Please login to merge, or discard this patch.