Commit ee65908707c5afb25638b2a8ec2e4110267b23da
1 parent
330dc38810
Exists in
master
Изменения для формы обратной связи и пагинации вакансий
Showing 5 changed files with 5 additions and 7 deletions Side-by-side Diff
app/Http/Controllers/CompanyController.php
... | ... | @@ -56,7 +56,7 @@ class CompanyController extends Controller |
56 | 56 | |
57 | 57 | $ads = Ad_employer::query()->with('jobs')->with('jobs_code')-> |
58 | 58 | OrderByDesc('id')-> |
59 | - where('employer_id', '=', $company[0]->id)->paginate(2); | |
59 | + where('employer_id', '=', $company[0]->id)->paginate(50); | |
60 | 60 | |
61 | 61 | return view('info_company_new', compact('company', 'user_id', 'title', 'ads')); |
62 | 62 | } |
app/Http/Controllers/PagesController.php
... | ... | @@ -4,9 +4,7 @@ namespace App\Http\Controllers; |
4 | 4 | |
5 | 5 | use App\Http\Requests\RequestSendAdmin; |
6 | 6 | use App\Mail\MailAdminy; |
7 | -use App\Mail\MailRepair; | |
8 | 7 | use App\Models\pages; |
9 | -use Illuminate\Http\Request; | |
10 | 8 | use Illuminate\Support\Facades\Mail; |
11 | 9 | use Illuminate\Support\Facades\Redis; |
12 | 10 | use PhpOffice\PhpSpreadsheet\Spreadsheet; |
database/migrations/2024_03_05_100903_create_title_workers_table.php
... | ... | @@ -16,7 +16,7 @@ return new class extends Migration |
16 | 16 | Schema::create('title_workers', function (Blueprint $table) { |
17 | 17 | $table->id(); |
18 | 18 | $table->bigInteger('worker_id')->nullable(false); |
19 | - $table->bigInteger('jib_title_id')->nullable(false); | |
19 | + $table->bigInteger('job_title_id')->nullable(false); | |
20 | 20 | $table->timestamps(); |
21 | 21 | }); |
22 | 22 | } |
public/css/style_may2024.css
... | ... | @@ -3898,7 +3898,7 @@ h1 { |
3898 | 3898 | } |
3899 | 3899 | } |
3900 | 3900 | .main__employer-page-two .main__employer-page-two-item { |
3901 | - display: none; | |
3901 | + /*display: none;*/ | |
3902 | 3902 | } |
3903 | 3903 | .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) { |
3904 | 3904 | display: -webkit-box; |
... | ... | @@ -8985,4 +8985,4 @@ main + .news { |
8985 | 8985 | display: -webkit-box; |
8986 | 8986 | display: -ms-flexbox; |
8987 | 8987 | display: flex; |
8988 | -} | |
8989 | 8988 | \ No newline at end of file |
8989 | +} |
resources/views/emails/send_adminy.blade.php
1 | 1 | <div> |
2 | 2 | Пользователь написал вам: {{ $data['name'] }}<br> |
3 | 3 | Email: {{ $data['email'] }}<br> |
4 | - Название компании: {{ $data['name_company'] }} | |
4 | + Название компании: {{ $data['name_company'] }}<br> | |
5 | 5 | Телефон: {{ $data['telephone'] }}<br> |
6 | 6 | Текст сообщения: {{ $data['text'] }}<br> |
7 | 7 | </div> |