mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 03:51:06 +01:00
Fix #442
This commit is contained in:
parent
a630cab4b5
commit
1a9efa7568
@ -135,7 +135,9 @@ switch (post('op')) {
|
||||
}
|
||||
|
||||
$intervento->id_preventivo = post('$idpreventivo');
|
||||
$intervento->richiesta = post('richiesta');
|
||||
$intervento->richiesta = $richiesta;
|
||||
|
||||
$intervento->save();
|
||||
|
||||
// Collego l'intervento al contratto
|
||||
if (!empty($idcontratto)) {
|
||||
|
@ -6,7 +6,8 @@ use Common\Model;
|
||||
|
||||
class Stato extends Model
|
||||
{
|
||||
public $primaryKey = 'idstatointervento';
|
||||
public $incrementing = false;
|
||||
protected $primaryKey = 'idstatointervento';
|
||||
protected $table = 'in_statiintervento';
|
||||
|
||||
public function interventi()
|
||||
|
Loading…
x
Reference in New Issue
Block a user