diff --git a/app/Http/Controllers/CompanyController.php b/app/Http/Controllers/CompanyController.php index babb6ed..1df1d58 100644 --- a/app/Http/Controllers/CompanyController.php +++ b/app/Http/Controllers/CompanyController.php @@ -56,7 +56,7 @@ class CompanyController extends Controller $ads = Ad_employer::query()->with('jobs')->with('jobs_code')-> OrderByDesc('id')-> - where('employer_id', '=', $company[0]->id)->paginate(2); + where('employer_id', '=', $company[0]->id)->paginate(50); return view('info_company_new', compact('company', 'user_id', 'title', 'ads')); } diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 77e8f60..4552237 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -4,9 +4,7 @@ namespace App\Http\Controllers; use App\Http\Requests\RequestSendAdmin; use App\Mail\MailAdminy; -use App\Mail\MailRepair; use App\Models\pages; -use Illuminate\Http\Request; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facades\Redis; use PhpOffice\PhpSpreadsheet\Spreadsheet; diff --git a/database/migrations/2024_03_05_100903_create_title_workers_table.php b/database/migrations/2024_03_05_100903_create_title_workers_table.php index 167bdf7..963908d 100644 --- a/database/migrations/2024_03_05_100903_create_title_workers_table.php +++ b/database/migrations/2024_03_05_100903_create_title_workers_table.php @@ -16,7 +16,7 @@ return new class extends Migration Schema::create('title_workers', function (Blueprint $table) { $table->id(); $table->bigInteger('worker_id')->nullable(false); - $table->bigInteger('jib_title_id')->nullable(false); + $table->bigInteger('job_title_id')->nullable(false); $table->timestamps(); }); } diff --git a/public/css/style_may2024.css b/public/css/style_may2024.css index bfc582d..8e233d2 100644 --- a/public/css/style_may2024.css +++ b/public/css/style_may2024.css @@ -3898,7 +3898,7 @@ h1 { } } .main__employer-page-two .main__employer-page-two-item { - display: none; + /*display: none;*/ } .main__employer-page-two .main__employer-page-two-item:nth-of-type(1), .main__employer-page-two .main__employer-page-two-item:nth-of-type(2) { display: -webkit-box; @@ -8985,4 +8985,4 @@ main + .news { display: -webkit-box; display: -ms-flexbox; display: flex; -} \ No newline at end of file +} diff --git a/resources/views/emails/send_adminy.blade.php b/resources/views/emails/send_adminy.blade.php index 19e296e..6a245ba 100644 --- a/resources/views/emails/send_adminy.blade.php +++ b/resources/views/emails/send_adminy.blade.php @@ -1,7 +1,7 @@
Пользователь написал вам: {{ $data['name'] }}
Email: {{ $data['email'] }}
- Название компании: {{ $data['name_company'] }} + Название компании: {{ $data['name_company'] }}
Телефон: {{ $data['telephone'] }}
Текст сообщения: {{ $data['text'] }}