mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 04:20:50 +01:00
Fix generazione scadenze
This commit is contained in:
parent
885ec40e03
commit
23111cd54e
@ -56,7 +56,7 @@ class Pagamento extends Model
|
|||||||
|
|
||||||
public function calcola($importo, $data, $id_anagrafica)
|
public function calcola($importo, $data, $id_anagrafica)
|
||||||
{
|
{
|
||||||
$rate = PagamentoLang::where('title', '=', $this->getTranslation('title'))->get()->sortBy('num_giorni')->pluck('id')->toArray();
|
$rate = Pagamento::where('name', '=', $this->name)->get()->sortBy('num_giorni')->pluck('id')->toArray();
|
||||||
$number = count($rate);
|
$number = count($rate);
|
||||||
|
|
||||||
$totale = 0.0;
|
$totale = 0.0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user