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: 141 (8 items) | ||||
1 | IN446258 | 12312444555 | View Edit | |
2 | JE105477 | 12312444555 | View Edit | |
3 | JN355280 | 49539.37 | View Edit | |
4 | JN722010 | 40206.2 | View Edit | |
5 | KT52578 | 63843.55 | View Edit | |
6 | MC46946 | 35420.74 | View Edit | |
7 | MF629602 | 20009.53 | View Edit | |
8 | NU627706 | 26155 | View Edit | |
total | 24625124284.39 | |||
Customernumber: 144 (2 items) | ||||
9 | IR846303 | 36005.71 | View Edit | |
10 | LA685678 | 7674.94 | View Edit | |
total | 43680.65 |