Skip to content

Commit

Permalink
fix: fix debt direction on debt edit (#2665)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored May 10, 2019
1 parent fd38d07 commit 7ca6e2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Enhancements:

Fixes:

* Fix debt direction on debt edit
* Fix schedule run in case cron can't run on fix hours
* Fix contact create with birthdate age 0
* Fix contact link create on job queue
Expand Down
4 changes: 2 additions & 2 deletions resources/views/people/debt/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

<h2>{{ trans('people.debt_add_title') }}</h2>

{{-- Gender --}}
{{-- Debt direction --}}
<fieldset class="form-group">
<label class="form-check-inline" for="youowe">
<input type="radio" class="form-check-input" name="in_debt" id="youowe" value="yes" @if(old('in_debt') !== 'no' || $debt->in_debt !== 'no') checked @endif>
{{ trans('people.debt_add_you_owe', ['name' => $contact->first_name]) }}
</label>

<label class="form-check-inline" for="theyowe">
<input type="radio" class="form-check-input" name="in_debt" id="theyowe" value="no">
<input type="radio" class="form-check-input" name="in_debt" id="theyowe" value="no" @if(old('in_debt') === 'no' || $debt->in_debt === 'no') checked @endif>
{{ trans('people.debt_add_they_owe', ['name' => $contact->first_name]) }}
</label>
</fieldset>
Expand Down

0 comments on commit 7ca6e2e

Please sign in to comment.