Edit / PDF / Mail / ->Leads

This commit is contained in:
Kevin Adametz 2021-05-07 17:44:02 +02:00
parent 5d55e5be3f
commit 66ca252bfa
43 changed files with 2915 additions and 76 deletions

View file

@ -2,26 +2,20 @@
namespace App\Repositories;
use App\Models\BookingFile;
use App\Models\TravelUserBookingFile;
use Response;
class BookingFewoFileRepository extends FileRepository {
protected $booking_fewo_file;
protected $travel_user_booking_fewo_id;
protected $identifier;
public function __construct(TravelUserBookingFile $model){
parent::__construct();
$this->model = $model;
}
public function save(){
$this->booking_fewo_file = TravelUserBookingFile::create([
'travel_user_booking_fewo_id' => $this->travel_user_booking_fewo_id,
@ -35,7 +29,6 @@ class BookingFewoFileRepository extends FileRepository {
]);
}
public function response(){
return Response::json([
'error' => false,