feat: add ability to autocomplete tags (#1995)

This commit is contained in:
Régis Freyd
2018-11-09 20:48:12 -05:00
committed by GitHub
parent 1e45dbc8fe
commit 1f65b18a3c
57 changed files with 1358 additions and 1057 deletions
@@ -5,6 +5,7 @@ namespace App\Http\Controllers\Contacts;
use App\Helpers\DateHelper;
use App\Helpers\MoneyHelper;
use App\Models\Contact\Gift;
use App\Helpers\AvatarHelper;
use App\Models\Contact\Contact;
use App\Http\Controllers\Controller;
use App\Http\Requests\People\GiftsRequest;
@@ -79,6 +80,7 @@ class GiftsController extends Controller
return view('people.gifts.add')
->withContact($contact)
->withFamilyRelationships($familyRelationships)
->withAvatar(AvatarHelper::get($contact, 87))
->withGift(new Gift);
}
@@ -111,6 +113,7 @@ class GiftsController extends Controller
return view('people.gifts.edit')
->withContact($contact)
->withFamilyRelationships($familyRelationships)
->withAvatar(AvatarHelper::get($contact, 87))
->withGift($gift);
}