1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-17 18:59:21 +01:00
openstamanager/update/v2_4_10/Components/Sconto.php

26 lines
436 B
PHP
Raw Normal View History

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