1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-17 10:50:19 +01:00
openstamanager/update/v2_4_10/Components/Sconto.php
2020-02-14 17:02:16 +01:00

26 lines
436 B
PHP
Executable File

<?php
namespace Update\v2_4_10\Components;
use Common\Components\Discount;
use Update\v2_4_10\Fattura;
class Sconto extends Discount
{
use RelationTrait;
protected $table = 'co_righe_documenti';
/**
* Crea un nuovo sconto collegato ad una fattura.
*
* @return self
*/
public static function build(Fattura $fattura)
{
$model = parent::build($fattura);
return $model;
}
}