mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-02 08:56:48 +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)
|
public static function make(Document $document, Original $articolo)
|
||||||
{
|
{
|
||||||
$model = parent::make($document,true);
|
$model = parent::make($document, true);
|
||||||
|
|
||||||
$model->articolo()->associate($articolo);
|
$model->articolo()->associate($articolo);
|
||||||
|
|
||||||
|
@ -53,5 +53,6 @@ abstract class Description extends Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
abstract public function parent();
|
abstract public function parent();
|
||||||
|
|
||||||
abstract public function getParentID();
|
abstract public function getParentID();
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,6 @@ namespace Common\Components;
|
|||||||
|
|
||||||
use Illuminate\Database\Eloquent\Builder;
|
use Illuminate\Database\Eloquent\Builder;
|
||||||
use Common\Model;
|
use Common\Model;
|
||||||
use Common\Document;
|
|
||||||
|
|
||||||
abstract class Discount extends Model
|
abstract class Discount extends Model
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,7 @@ abstract class Row extends Description
|
|||||||
|
|
||||||
public static function make(Document $document, $bypass = false)
|
public static function make(Document $document, $bypass = false)
|
||||||
{
|
{
|
||||||
return parent::make($document,true);
|
return parent::make($document, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSubtotaleAttribute()
|
public function getSubtotaleAttribute()
|
||||||
|
@ -31,13 +31,13 @@ class Intervento extends Document
|
|||||||
return $this->hasMany(Riga::class, 'idintervento');
|
return $this->hasMany(Riga::class, 'idintervento');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function descrizioni(){
|
public function descrizioni()
|
||||||
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function scontoGlobale(){
|
public function scontoGlobale()
|
||||||
|
{
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user