|
|
@@ -354,8 +354,6 @@ class Member extends Component
|
|
|
$this->course_subscription_price = formatPrice($c->subscription_price);
|
|
|
$this->course_date_from = $c->date_from;
|
|
|
$this->course_date_to = $c->date_to;
|
|
|
- // Controllo se sono già iscritto la corso
|
|
|
- $this->course_exist = \App\Models\MemberCourse::where('course_id', $this->course_course_id)->where('member_id', $this->dataId)->count() > 0;
|
|
|
|
|
|
// Carico gli abbonamenti e i mesi
|
|
|
$period = \Carbon\CarbonPeriod::create($c->date_from, '1 month', $c->date_to);
|