|
|
@@ -402,7 +402,8 @@ class Member extends Component
|
|
|
$c = \App\Models\Course::findOrFail($this->course_course_id);
|
|
|
$this->course_price = formatPrice($c->price);
|
|
|
$this->course_subscription_price = formatPrice($c->subscription_price);
|
|
|
- $this->course_date_from = $c->date_from;
|
|
|
+ // $this->course_date_from = $c->date_from;
|
|
|
+ $this->course_date_from = date('Y-m-d');
|
|
|
$this->course_date_to = $c->date_to;
|
|
|
|
|
|
// Carico gli abbonamenti e i mesi
|
|
|
@@ -796,7 +797,8 @@ class Member extends Component
|
|
|
$c = \App\Models\Course::findOrFail($this->course_course_id);
|
|
|
$this->course_price = formatPrice($c->price);
|
|
|
$this->course_subscription_price = formatPrice($c->subscription_price);
|
|
|
- $this->course_date_from = $c->date_from;
|
|
|
+ // $this->course_date_from = $c->date_from;
|
|
|
+ $this->course_date_from = date('Y-m-d');
|
|
|
$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;
|