mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-22 20:09:58 +01:00
Stile del codice
This commit is contained in:
parent
23b964112f
commit
1594b8c07e
@ -22,7 +22,7 @@ abstract class Article extends Row
|
||||
|
||||
public static function make(Document $document, Original $articolo)
|
||||
{
|
||||
$model = parent::make($document,true);
|
||||
$model = parent::make($document, true);
|
||||
|
||||
$model->articolo()->associate($articolo);
|
||||
|
||||
|
@ -53,5 +53,6 @@ abstract class Description extends Model
|
||||
}
|
||||
|
||||
abstract public function parent();
|
||||
|
||||
abstract public function getParentID();
|
||||
}
|
||||
|
@ -4,7 +4,6 @@ namespace Common\Components;
|
||||
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Common\Model;
|
||||
use Common\Document;
|
||||
|
||||
abstract class Discount extends Model
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ abstract class Row extends Description
|
||||
|
||||
public static function make(Document $document, $bypass = false)
|
||||
{
|
||||
return parent::make($document,true);
|
||||
return parent::make($document, true);
|
||||
}
|
||||
|
||||
public function getSubtotaleAttribute()
|
||||
|
@ -31,13 +31,13 @@ class Intervento extends Document
|
||||
return $this->hasMany(Riga::class, 'idintervento');
|
||||
}
|
||||
|
||||
public function descrizioni(){
|
||||
public function descrizioni()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public function scontoGlobale(){
|
||||
public function scontoGlobale()
|
||||
{
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user