refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<select name="currency_id" id="currency_id" class="form-control" required>
|
||||
@foreach ( $currencies as $currency )
|
||||
@if ($currency->id == $selectionID)
|
||||
<option value="{{ $currency->id }}" selected>{{ $currency->name }}</option>
|
||||
@else
|
||||
<option value="{{ $currency->id }}" >{{ $currency->name }}</option>
|
||||
@endif
|
||||
@endforeach
|
||||
</select>
|
||||
52
resources/views/partials/components/date-select.blade.php
Normal file
52
resources/views/partials/components/date-select.blade.php
Normal file
@@ -0,0 +1,52 @@
|
||||
{{-- Data comes from DateSelectViewComposer --}}
|
||||
|
||||
<div class="mt2">
|
||||
|
||||
<select id="{{ $class }}_month" name="{{ $class }}_month" class="{{ htmldir() == 'ltr' ? 'mr2' : '' }}">
|
||||
@foreach($months as $month)
|
||||
<option value="{{ $month['id'] }}"
|
||||
@if ($specialDate && $specialDate instanceof Carbon\Carbon)
|
||||
{{ ($specialDate->month == $month['id']) ? 'selected="selected"': '' }}
|
||||
@else
|
||||
{{ ($specialDate == null) ? '' : (($specialDate->date->month == $month['id']) ? 'selected="selected"': '') }}
|
||||
@endif
|
||||
>
|
||||
{{ $month['name'] }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
||||
<select id="{{ $class }}_day" name="{{ $class }}_day" class="mr2">
|
||||
@for ($day=1 ; $day < 32 ; $day++)
|
||||
<option value="{{ $day }}"
|
||||
@if ($specialDate && $specialDate instanceof Carbon\Carbon)
|
||||
{{ $specialDate->day == $day ? 'selected="selected"': '' }}
|
||||
@else
|
||||
{{ ($specialDate == null) ? '' : (($specialDate->date->day == $day) ? 'selected="selected"': '') }}
|
||||
@endif
|
||||
>
|
||||
{{ $day }}
|
||||
</option>
|
||||
@endfor
|
||||
</select>
|
||||
|
||||
<select id="{{ $class }}_year" name="{{ $class }}_year" class="{{ htmldir() == 'ltr' ? '' : 'mr2' }}">
|
||||
@if ($specialDate && $specialDate instanceof APP\Models\Instance\SpecialDate)
|
||||
<option value="0" {{ ! $specialDate->is_year_unknown ? '' : 'selected="selected"' }}>{{ trans('app.unknown') }}</option>
|
||||
@else
|
||||
<option value="0">{{ trans('app.unknown') }}</option>
|
||||
@endif
|
||||
|
||||
@foreach($years as $year)
|
||||
<option value="{{ $year['id'] }}"
|
||||
@if ($specialDate && $specialDate instanceof Carbon\Carbon)
|
||||
{{ $specialDate->year == $year['id'] ? 'selected="selected"': '' }}
|
||||
@else
|
||||
{{ ($specialDate == null) ? '' : ($specialDate->is_year_unknown ? '' : (($specialDate->date->year == $year['id']) ? 'selected="selected"': '')) }}
|
||||
@endif
|
||||
>
|
||||
{{ $year['id'] }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
@@ -0,0 +1,11 @@
|
||||
@if ($accountHasLimitations)
|
||||
<div class="mb4">
|
||||
<img src="img/people/upgrade_account.png">
|
||||
<div class="pa3 br bl bb br2 b--black-10 br--bottom bg-white">
|
||||
<p class="mb3">{{ trans('people.people_list_account_upgrade_title') }}</p>
|
||||
<div class="tc">
|
||||
<a href="{{ route('settings.subscriptions.index') }}" class="btn btn-secondary">☆ {{ trans('people.people_list_account_upgrade_cta') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
Reference in New Issue
Block a user