mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
terminado plantillas
This commit is contained in:
@ -45,7 +45,6 @@ class ClientePrecios extends \App\Controllers\GoBaseResourceController
|
||||
parent::initController($request, $response, $logger);
|
||||
}
|
||||
|
||||
|
||||
public function update($requestedId = null)
|
||||
{
|
||||
$requestMethod = $this->request->getMethod();
|
||||
@ -80,10 +79,6 @@ class ClientePrecios extends \App\Controllers\GoBaseResourceController
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public function datatable()
|
||||
{
|
||||
if ($this->request->isAJAX()) {
|
||||
@ -136,6 +131,7 @@ class ClientePrecios extends \App\Controllers\GoBaseResourceController
|
||||
$response = Editor::inst( $db, 'cliente_precios' )
|
||||
->fields(
|
||||
Field::inst( 'plantilla_id' ),
|
||||
Field::inst( 'cliente_id' ),
|
||||
Field::inst( 'tipo' ),
|
||||
Field::inst( 'tipo_maquina' ),
|
||||
Field::inst( 'tipo_impresion' ),
|
||||
@ -215,9 +211,6 @@ class ClientePrecios extends \App\Controllers\GoBaseResourceController
|
||||
->field('updated_at')
|
||||
->setValue($datetime->format('Y-m-d H:i:s'));
|
||||
})
|
||||
->on('postCreate', function ($editor,$id, $values, $row ) {
|
||||
$this->model->clean_plantilla_id($values['cliente_id']);
|
||||
})
|
||||
->debug(true)
|
||||
->process($_POST)
|
||||
->data();
|
||||
|
||||
Reference in New Issue
Block a user