This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <p class="mt-1 text-xs text-gray-400"> | |
| {!! $event->body !!} | |
| </p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $meetings = Meeting::whereIn('therapist_price_id', $prices) | |
| ->where('status', 2) | |
| ->orderBy('date') | |
| ->get(); | |
| $total = 0; | |
| foreach ($meetings as $meeting) | |
| { | |
| $price_item = $meeting->therapist_price(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $validator = Validator::make($input, [ | |
| 'current_password' => ['required', 'string'], | |
| 'password' => $this->passwordRules(), | |
| ])->after(function ($validator) use ($user, $input) { | |
| if (! isset($input['current_password']) || ! Hash::check($input['current_password'], $user->password)) { | |
| $validator->errors()->add('current_password', __('The provided password does not match your current password.')); | |
| } | |
| }); | |
| if ($validator instanceof \Illuminate\Validation\Validator) { | |
| $validator->validateWithBag('updatePassword'); |