|
@@ -289,7 +289,7 @@ class CourseList extends Component
|
|
|
foreach ($record->rows as $row)
|
|
foreach ($record->rows as $row)
|
|
|
{
|
|
{
|
|
|
|
|
|
|
|
- if ($row->causal_id == $x->course->sub_causal_id) // || str_contains(strtolower($row->note), 'iscrizione'))
|
|
|
|
|
|
|
+ if (($row->causal_id == $x->course->sub_causal_id) && (str_contains(strtolower($row->note), 'iscrizione'))) // || str_contains(strtolower($row->note), 'iscrizione'))
|
|
|
//if (str_contains(strtolower($row->note), 'iscrizione'))
|
|
//if (str_contains(strtolower($row->note), 'iscrizione'))
|
|
|
{
|
|
{
|
|
|
$subPrice = $row->amount;
|
|
$subPrice = $row->amount;
|