bug fixes category filters sorts
This commit is contained in:
parent
e7f73c5fe9
commit
a3c19d45e9
|
|
@ -3,15 +3,15 @@
|
|||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Events\OrderCompletedEvent;
|
||||
use App\Models\Account;
|
||||
use App\Models\AccountPaymentGateway;
|
||||
//use App\Models\Account;
|
||||
//use App\Models\AccountPaymentGateway;
|
||||
use App\Models\Affiliate;
|
||||
use App\Models\Attendee;
|
||||
use App\Models\Event;
|
||||
use App\Models\EventStats;
|
||||
use App\Models\Order;
|
||||
use App\Models\OrderItem;
|
||||
use App\Models\PaymentGateway;
|
||||
//use App\Models\PaymentGateway;
|
||||
use App\Models\QuestionAnswer;
|
||||
use App\Models\ReservedTickets;
|
||||
use App\Models\Ticket;
|
||||
|
|
@ -22,7 +22,7 @@ use Cookie;
|
|||
use DB;
|
||||
use Illuminate\Http\Request;
|
||||
use Log;
|
||||
use Omnipay;
|
||||
//use Omnipay;
|
||||
use PDF;
|
||||
use PhpSpec\Exception\Exception;
|
||||
use Validator;
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ class EventTicketsController extends MyBaseController
|
|||
$ticket->max_per_person = $request->get('max_per_person');
|
||||
$ticket->description = strip_tags($request->get('description'));
|
||||
$ticket->is_hidden = $request->get('is_hidden') ? 1 : 0;
|
||||
|
||||
$ticket->account_id = auth()->user()->account_id;
|
||||
$ticket->save();
|
||||
|
||||
// Attach the access codes to the ticket if it's hidden and the code ids have come from the front
|
||||
|
|
|
|||
Loading…
Reference in New Issue