payment Card first 4 payments inc. mails

This commit is contained in:
Kevin Adametz 2019-02-28 18:09:54 +01:00
parent c20deac3fe
commit 6e3adac4d7
38 changed files with 3063 additions and 921 deletions

View file

@ -93,7 +93,6 @@ class CardController extends Controller
$user_shop = Util::getUserShop();
do {
$identifier = Util::getToken();
} while( ShoppingInstance::where('identifier', $identifier)->count() );
@ -113,6 +112,11 @@ class CardController extends Controller
return redirect()->secure($path);
}
public function backToShop(){
$this->deleteCard();
return redirect(url('/'));
}
public function removeCard($rowId){
Yard::instance('shopping')->remove($rowId);