Mails + Upload

This commit is contained in:
Kevin Adametz 2020-06-14 13:49:11 +02:00
parent 767e84e640
commit a3bef8d1aa
19 changed files with 151 additions and 200 deletions

View file

@ -234,7 +234,6 @@ class CustomerFewoMailRepository extends BaseRepository {
$value->show = 'single';
$value->lead_title_id = " - (".$value->booking->invoice_number.")";
$tmp = [];
$tmp['email'] = $booking->travel_user ? $booking->travel_user->email : "";
$tmp['name'] = $booking->travel_user ? $booking->travel_user->first_name . " " . $booking->travel_user->last_name . " | " : "- | ";
@ -252,7 +251,7 @@ class CustomerFewoMailRepository extends BaseRepository {
if($customer_mail->reply_id){
$value->title = "E-Mail Antwort an Kunden senden";
$value->subtitle = "Dem Kunden wird eine E-Mail zugesendet, die im System als Antwort gespeichert wird.";
$value->customer_mail = $customer_mail;
$value->customer_mail = $customer_mail->customer_mail;
}
$value->s_placeholder = "Betreff der E-Mail";
$value->m_placeholder = "Nachricht der E-Mail";
@ -261,7 +260,6 @@ class CustomerFewoMailRepository extends BaseRepository {
$value->customer_mail_subdir = $customer_mail->subdir ? $customer_mail->subdir : 0;
return view("travel.user.booking.mail.modal-new-mail", compact('data', 'value'))->render();
}
/* neue Mail */
if ($data['action'] === "new-customer-mail") {