mail templates worked

This commit is contained in:
gerchek 2022-04-01 16:52:45 +00:00
parent faf1f1c1f1
commit c275a5c9c8
12 changed files with 514 additions and 538 deletions

View File

@ -7,7 +7,7 @@ use Illuminate\Http\Request;
use AhmadFatoni\ApiGenerator\Helpers\Helpers;
use Illuminate\Support\Facades\Validator;
use Atash\Contact\Models\Card_data;
class CarddataController extends Controller
class cardController extends Controller
{
protected $Card_data;
@ -22,8 +22,8 @@ class CarddataController extends Controller
public function index(){
$data = $this->Card_data->all()->toArray();
// $data = $this->Card_data->all()->toArray();
$data = $this->Card_data->with(['translations:locale,model_id,attribute_data','image'])->get();
return $this->helpers->apiArrayResponseBuilder(200, 'success', $data);
}
@ -96,4 +96,4 @@ class CarddataController extends Controller
return call_user_func_array(array($this, $method), $parameters);
}
}
}

View File

@ -7,7 +7,7 @@ use Illuminate\Http\Request;
use AhmadFatoni\ApiGenerator\Helpers\Helpers;
use Illuminate\Support\Facades\Validator;
use Atash\Contact\Models\Credit_data;
class CreditdataController extends Controller
class creditController extends Controller
{
protected $Credit_data;
@ -22,13 +22,9 @@ class CreditdataController extends Controller
public function index(){
// $data = $this->Credit_data->all()->toArray();
// $data = $this->Credit_data->with(['translations:sum,securing_return,source_of_repayment,repayment_method'])->get();
$data = $this->Credit_data->with(['translations:locale,model_id,attribute_data'])->get();
// $data = $this->Credit_data->all()->toArray();
$data = $this->Credit_data->with(['translations:locale,model_id,attribute_data'])->get();
return $this->helpers->apiArrayResponseBuilder(200, 'success', $data);
// return response()->json($data, 200);
}
public function show($id){
@ -100,4 +96,4 @@ class CreditdataController extends Controller
return call_user_func_array(array($this, $method), $parameters);
}
}
}

View File

@ -4,7 +4,7 @@ Route::post('fatoni/generate/api', array('as' => 'fatoni.generate.api', 'uses' =
Route::post('fatoni/update/api/{id}', array('as' => 'fatoni.update.api', 'uses' => 'AhmadFatoni\ApiGenerator\Controllers\ApiGeneratorController@updateApi'));
Route::get('fatoni/delete/api/{id}', array('as' => 'fatoni.delete.api', 'uses' => 'AhmadFatoni\ApiGenerator\Controllers\ApiGeneratorController@deleteApi'));
Route::resource('api/v1/credit_data', 'AhmadFatoni\ApiGenerator\Controllers\API\Credit dataController', ['except' => ['destroy', 'create', 'edit']]);
Route::get('api/v1/credit_data/{id}/delete', ['as' => 'api/v1/credit_data.delete', 'uses' => 'AhmadFatoni\ApiGenerator\Controllers\API\Credit dataController@destroy']);
Route::resource('api/v1/card_data', 'AhmadFatoni\ApiGenerator\Controllers\API\CarddataController', ['except' => ['destroy', 'create', 'edit']]);
Route::get('api/v1/card_data/{id}/delete', ['as' => 'api/v1/card_data.delete', 'uses' => 'AhmadFatoni\ApiGenerator\Controllers\API\CarddataController@destroy']);
Route::resource('api/v1/card_data', 'AhmadFatoni\ApiGenerator\Controllers\API\cardController', ['except' => ['destroy', 'create', 'edit']]);
Route::get('api/v1/card_data/{id}/delete', ['as' => 'api/v1/card_data.delete', 'uses' => 'AhmadFatoni\ApiGenerator\Controllers\API\cardController@destroy']);
Route::resource('api/v1/credit_data', 'AhmadFatoni\ApiGenerator\Controllers\API\creditController', ['except' => ['destroy', 'create', 'edit']]);
Route::get('api/v1/credit_data/{id}/delete', ['as' => 'api/v1/credit_data.delete', 'uses' => 'AhmadFatoni\ApiGenerator\Controllers\API\creditController@destroy']);

View File

@ -13,9 +13,8 @@ tabs:
tab: Data
sum:
label: 'Сумма кредита'
size: small
span: right
type: textarea
span: auto
type: number
tab: Data
bet:
label: Ставка

View File

@ -0,0 +1,23 @@
<?php namespace Atash\Contact\Updates;
use Schema;
use October\Rain\Database\Updates\Migration;
class BuilderTableUpdateAtashContactCreditData extends Migration
{
public function up()
{
Schema::table('atash_contact_credit_data', function($table)
{
$table->dropColumn('sum');
});
}
public function down()
{
Schema::table('atash_contact_credit_data', function($table)
{
$table->string('sum', 191);
});
}
}

View File

@ -0,0 +1,23 @@
<?php namespace Atash\Contact\Updates;
use Schema;
use October\Rain\Database\Updates\Migration;
class BuilderTableUpdateAtashContactCreditData2 extends Migration
{
public function up()
{
Schema::table('atash_contact_credit_data', function($table)
{
$table->integer('sum');
});
}
public function down()
{
Schema::table('atash_contact_credit_data', function($table)
{
$table->dropColumn('sum');
});
}
}

View File

@ -75,3 +75,9 @@
1.0.26:
- 'Updated table atash_contact_card_data'
- builder_table_update_atash_contact_card_data.php
1.0.27:
- 'Updated table atash_contact_credit_data'
- builder_table_update_atash_contact_credit_data.php
1.0.28:
- 'Updated table atash_contact_credit_data'
- builder_table_update_atash_contact_credit_data_2.php

View File

@ -285,7 +285,7 @@ Route::group(['prefix' => 'api'], function() {
Mail::send('vdomah.jwtauth::mail.message', $vars, function($message) {
$message->to('gerchekgerchek1@gmail.com', 'Admin Person');
$message->to('digital.tps2018@@gmail.com', 'Admin Person');
$message->subject('This is a reminder');
});
@ -351,16 +351,16 @@ Route::group(['prefix' => 'api'], function() {
'date' => $date
];
Mail::send('vdomah.jwtauth::mail.credit', $vars, function($message) use ($file) {
Mail::send('vdomah.jwtauth::mail.credit', $vars, function($message) {
$message->to('digital.tps2018@gmail.com', 'Admin Person');
// $message->subject('This is a reminder');
$message->attach(
$file->getRealPath(),array(
'as'=>$file->getClientOriginalName(),
'mime'=>$file->getMimeType()
)
);
// $message->attach(
// $file->getRealPath(),array(
// 'as'=>$file->getClientOriginalName(),
// 'mime'=>$file->getMimeType()
// )
// );
});

View File

@ -1,217 +1,207 @@
<thead>
<tr>
<th>
<div class="mail_row">
<div class="logo">
<img src="{{ asset('themes/form/assets/images/logo.png') }}" alt="logo">
</div>
<h1 class="mail_header-title">
<!-- Заявка на карту {{ 'logo-bg.png'|media }} -->
Онлайн заявка для получения карты
<section class="mail" style="width:100%;display:block;position:relative;">
<table class="mail_table" cellpadding="0" cellspacing="0" border="0" style="position:relative;width:100%;margin:10px 0;border:1px solid #E5E5E5;border-spacing:0; background: url({{ asset('themes/form/assets/images/logologo.png') }}) no-repeat center; background-size: contain; background-size: 30%;">
<thead>
<tr>
<th class="header" style="padding: 0; position: relative;border: 1px solid #E5E5E5;">
<div class="header_row" style="display: flex; align-items: center;">
<div class="logo" style="width: 130px;height: 75px;border-right: 1px solid #E5E5E5;margin-right: 30px;display: flex;align-items: center;justify-content: center;position: relative; z-index: 2;">
<img src="{{ asset('themes/form/assets/images/logo.png') }}" alt="logo" style="width: 100%;height: 100%;object-fit: contain;-o-object-fit: contain;">
</div>
<h1 class="title" style="font-weight: 700;font-size: 24px;line-height: 34px;color: #01815E;">
Онлайн заявка для получения карты
</h1>
</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Имя:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{name}}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Фамилия:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ surname }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Отчество:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ middlename }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Дата рождения:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ birthdate }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Мобильный телефон:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ phone_number }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Домашний телефон:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ home_phone_number }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Эл. адрес:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ email }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Серия паспорта:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ passport_series }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Кем выдан паспорт:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ passport_by }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Адрес прописки:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ place_of_residence }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Регион:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ region }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Филиал:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ branch }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Дата прихода в банк:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ date_arrival_bank }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Выбранное время:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ selected_time }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Кодовое слово:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ the_codeword }}
</p>
</div>
</td>
</tr>
</tbody>
</table>
</h1>
</div>
</th>
</tr>
</thead>
</section>
<tbody>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Имя:
</h4>
<p class="mail_body-text">
{{name}}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Фамилия:
</h4>
<p class="mail_body-text">
{{ surname }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Отчество:
</h4>
<p class="mail_body-text">
{{ middlename }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Дата рождения:
</h4>
<p class="mail_body-text">
{{ birthdate }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Мобильный телефон:
</h4>
<p class="mail_body-text">
{{ phone_number }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Домашний телефон:
</h4>
<p class="mail_body-text">
{{ home_phone_number }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Эл. адрес:
</h4>
<p class="mail_body-text">
{{ email }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Серия паспорта:
</h4>
<p class="mail_body-text">
{{ passport_series }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Кем выдан паспорт:
</h4>
<p class="mail_body-text">
{{ passport_by }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Адрес прописки:
</h4>
<p class="mail_body-text">
{{ place_of_residence }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Регион:
</h4>
<p class="mail_body-text">
{{ region }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Филиал:
</h4>
<p class="mail_body-text">
{{ branch }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Дата прихода в банк:
</h4>
<p class="mail_body-text">
{{ date_arrival_bank }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Выбранное время:
</h4>
<p class="mail_body-text">
{{ selected_time }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Кодовое слово:
</h4>
<p class="mail_body-text">
{{ the_codeword }}
</p>
</div>
</td>
</tr>
</tbody>

View File

@ -1,241 +1,229 @@
<thead>
<tr>
<th>
<div class="mail_row">
<div class="logo">
<img src="{{ asset('themes/form/assets/images/logo.png') }}" alt="logo">
</div>
<h1 class="mail_header-title">
<!-- Заявка на карту {{ 'logo-bg.png'|media }} -->
Онлайн-заявка для получения кредита
<section class="mail" style="width:100%;display:block;position:relative;">
<table class="mail_table" cellpadding="0" cellspacing="0" border="0" style="position:relative;width:100%;margin:10px 0;border:1px solid #E5E5E5;border-spacing:0; background: url({{ asset('themes/form/assets/images/logologo.png') }}) no-repeat center; background-size: contain; background-size: 30%;">
<thead>
<tr>
<th class="header" style="padding: 0; position: relative;border: 1px solid #E5E5E5;">
<div class="header_row" style="display: flex; align-items: center;">
<div class="logo" style="width: 130px;height: 75px;border-right: 1px solid #E5E5E5;margin-right: 30px;display: flex;align-items: center;justify-content: center;position: relative; z-index: 2;">
<img src="{{ asset('themes/form/assets/images/logo.png') }}" alt="logo" style="width: 100%;height: 100%;object-fit: contain;-o-object-fit: contain;">
</div>
<h1 class="title" style="font-weight: 700;font-size: 24px;line-height: 34px;color: #01815E;">
Онлайн-заявка для получения кредита
</h1>
</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Имя:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{name}}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Фамилия:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ last_name }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Отчество:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ middle_name }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Дата рождения:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ birth }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Мобильный телефон:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ mobile_phone }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Домашний телефон:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ home_phone }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Эл. адрес:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ email }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Серия паспорта:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ passport_series }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Кем выдан паспорт:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ passport_issued_by }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Адрес прописки:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ addres }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Регион:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ region }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Филиал:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ branch }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Место работы:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ place_of_work }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Сумма зарплаты:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ amount_of_salary }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Должность:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ position }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Стаж с последнего места работы:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ work_experience }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Сумма зарплаты:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
{{ amount_of_salary }}
</p>
</div>
</td>
</tr>
</tbody>
</table>
</h1>
</div>
</th>
</tr>
</thead>
</section>
<tbody>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Имя:
</h4>
<p class="mail_body-text">
{{name}}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Фамилия:
</h4>
<p class="mail_body-text">
{{ last_name }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Отчество:
</h4>
<p class="mail_body-text">
{{ middle_name }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Дата рождения:
</h4>
<p class="mail_body-text">
{{ birth }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Мобильный телефон:
</h4>
<p class="mail_body-text">
{{ mobile_phone }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Домашний телефон:
</h4>
<p class="mail_body-text">
{{ home_phone }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Эл. адрес:
</h4>
<p class="mail_body-text">
{{ email }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Серия паспорта:
</h4>
<p class="mail_body-text">
{{ passport_series }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Кем выдан паспорт:
</h4>
<p class="mail_body-text">
{{ passport_issued_by }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Адрес прописки:
</h4>
<p class="mail_body-text">
{{ addres }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Регион:
</h4>
<p class="mail_body-text">
{{ region }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Филиал:
</h4>
<p class="mail_body-text">
{{ branch }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Место работы:
</h4>
<p class="mail_body-text">
{{ place_of_work }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Сумма зарплаты:
</h4>
<p class="mail_body-text">
{{ amount_of_salary }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Должность:
</h4>
<p class="mail_body-text">
{{ position }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Стаж с последнего места работы:
</h4>
<p class="mail_body-text">
{{ work_experience }}
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="mail_row">
<h4 class="mail_body-label">
Сумма зарплаты:
</h4>
<p class="mail_body-text">
{{ amount_of_salary }}
</p>
</div>
</td>
</tr>
</tbody>

View File

@ -1,6 +1,6 @@
<!-- <body style="margin:10px;padding:0px;border:none;outline:none;scroll-behavior:smooth;font-family:'Open Sans', sans-serif;font-size:14px;color:#000;line-height:1.7em;font-weight:400;background:#fff;position:relative;-webkit-font-smoothing:antialiased;-moz-font-smoothing:antialiased;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;"> -->
<section class="mail" style="width:100%;display:block;position:relative;">
<table class="mail_table" cellpadding="0" cellspacing="0" border="0" style="position:relative;width:100%;margin:10px 0;border:1px solid #E5E5E5;border-spacing:0;position: relative;">
<table class="mail_table" cellpadding="0" cellspacing="0" border="0" style="position:relative;width:100%;margin:10px 0;border:1px solid #E5E5E5;border-spacing:0; background: url({{ asset('themes/form/assets/images/logologo.png') }}) no-repeat center; background-size: contain; background-size: 30%;">
<thead>
<tr>
<th class="header" style="padding: 0; position: relative;border: 1px solid #E5E5E5;">
@ -10,7 +10,7 @@
</div>
<h1 class="title" style="font-weight: 700;font-size: 24px;line-height: 34px;color: #01815E;">
Заявка на карту
Письмо
</h1>
</div>
</th>
@ -21,10 +21,10 @@
<td style="padding:0px 30px;padding-top:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Имя:
Тема письма
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
admin
{{ subject }}
</p>
</div>
</td>
@ -33,64 +33,15 @@
<td style="padding:0px 30px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Название организации:
Сообщение
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
test
{{ messsage }}
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
E-mail:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
admin@gmail.com
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Тема:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
test
</p>
</div>
</td>
</tr>
<tr>
<td style="padding:0px 30px;padding-bottom:40px;">
<div class="mail_row" style="display:flex;margin-bottom:5px;">
<h4 class="mail_body-label" style="position:relative;font-weight:normal;margin:0px;background:none;line-height:1.6em;font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
Сообщение:
</h4>
<p class="mail_body-text" style="font-weight:400;font-size:24px;line-height:34px;color:#3A3A3A;margin:0 15px 0 0;display:block;">
test-test-test-test-test-test-test-test-test-test-test
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="table_bg" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); width: 70%; height: 70%; pointer-events: none; background: url({{ asset('themes/form/assets/images/logo-bg.png') }}) no-repeat center;background-size: contain;">
<!-- <img style="width: 100%;height: 100%;object-fit: contain;-o-object-fit: contain;"src="{{ asset('themes/form/assets/images/logo-bg.png') }}" /> -->
<!-- <img style="width: 100%;
height: 100%;
object-fit: contain;
-o-object-fit: contain;" src="images/logo-bg.png" /> -->
</div>
</td>
</tr>
</tbody>
</table>
</section>
<!-- </body> -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB