Download Laravel-xCRUD Integration Full Code that includes this full demo
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class xGalleryController extends Controller
{
public function index()
{
$xcrud = Xcrud_get_instance();
$xcrud->table('gallery');
$xcrud->change_type('image', 'image', false, array(
'width' => 450,
'path' => '../uploads/gallery',
'thumbs' => array(array(
'height' => 55,
'width' => 120,
'crop' => true,
'marker' => '_th'))));
$render = $xcrud->render();
return view('xcrud_simple', ['render' => $render]);
}
}
# | Checknumber | Amount | ||
---|---|---|---|---|
Customernumber: 1 (1 items) | ||||
1 | BO86400xx | 1234571 | View Edit | |
total | 1234571 | |||
Customernumber: 10364 (1 items) | ||||
2 | OM3149 | 605003 | View Edit | |
total | 605003 | |||
Customernumber: 103600 (1 items) | ||||
3 | OM314912 | 605000 | View Edit | |
total | 605000 | |||
Customernumber: 11310 (1 items) | ||||
4 | HQ5502444 | 14190 | View Edit | |
total | 14190 | |||
Customernumber: 112 (1 items) | ||||
5 | HQ55022 | 150 | View Edit | |
total | 150 | |||
Customernumber: 113 (1 items) | ||||
6 | GG31455 | 45870 | View Edit | |
total | 45870 | |||
Customernumber: 114 (3 items) | ||||
7 | MA76552 | 82261 | View Edit | |
8 | NP60385 | 7565 | View Edit | |
9 | NR27552 | 44894 | View Edit | |
total | 134720 | |||
Customernumber: 119 (1 items) | ||||
10 | DB933704 | 19501.82 | View Edit | |
total | 19501.82 |