2019-11-22 15:23:20 +01:00
|
|
|
<?php
|
|
|
|
|
2019-12-03 20:27:22 +01:00
|
|
|
namespace Update\v2_4_10\Components;
|
2019-11-22 15:23:20 +01:00
|
|
|
|
2019-12-03 20:27:22 +01:00
|
|
|
use Common\Components\Description;
|
|
|
|
use Update\v2_4_10\Fattura;
|
2019-11-22 15:23:20 +01:00
|
|
|
|
2019-12-03 20:27:22 +01:00
|
|
|
class Descrizione extends Description
|
2019-11-22 15:23:20 +01:00
|
|
|
{
|
|
|
|
use RelationTrait;
|
|
|
|
|
|
|
|
protected $table = 'co_righe_documenti';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Crea una nuova riga collegata ad una fattura.
|
|
|
|
*
|
|
|
|
* @return self
|
|
|
|
*/
|
|
|
|
public static function build(Fattura $fattura)
|
|
|
|
{
|
|
|
|
$model = parent::build($fattura);
|
|
|
|
|
|
|
|
return $model;
|
|
|
|
}
|
|
|
|
}
|