Skip to content

Commit

Permalink
Fixed InstallmentOrderService (#252)
Browse files Browse the repository at this point in the history
* Update PaymentService.php

* Fix BelpostLabelService

* Format Oneami code

* Format Oneami code

* 416. Index page

* Format Oneami code

* #430 Internal movement: contact person

* Format Oneami code

* Update PaymentService.php

* Update InstallmentOrderService.php

* Update InstallmentOrderService.php

* New admin: clients

* Format Oneami code

* Fix InstallmentOrderService

* User blacklist

* Format Oneami code

* Fix fb8e8ba

* Fixed InstallmentOrderService

---------

Co-authored-by: Oneami <Oneami@users.noreply.github.com>
  • Loading branch information
Oneami and Oneami authored Jul 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 04afcbe commit b3d9359
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/Services/Order/InstallmentOrderService.php
Original file line number Diff line number Diff line change
@@ -59,9 +59,7 @@ public function createInstallmentForm(Order $order)
$adminTrustDate = isset($order->admin->trust_date) ? date('d.m.Y', strtotime($order?->admin?->trust_date)) : null;
$adminTrustNumber = $order->admin->trust_number ?? null;
$dateContractInstallment = Carbon::parse(($item->installment->contract_date ?? 'now'))->translatedFormat('d.m.Y');
$sheet->unmergeCells('AL3:AW3');
$sheet->mergeCells('AI3:AX3');
$sheet->setCellValue('AI3', $dateContractInstallment);
$sheet->setCellValue('AL3', $dateContractInstallment);
$sheet->setCellValue('E5', 'Общество с ограниченной ответственностью "БароккоСтайл", в лице специалиста по продажам');
$sheet->setCellValue('B6', $adminFio . ", действующий на основании Доверенности №$adminTrustNumber от $adminTrustDate, именуемый в дальнейшем");
$sheet->setCellValue('B7', "Продавец, с одной стороны, и $lastName $firstName $patronymicName, именуемая в дальнейшем");

0 comments on commit b3d9359

Please sign in to comment.