Skip to content

Commit 556aebd

Browse files
committed
Update email logo
1 parent 5704291 commit 556aebd

File tree

15 files changed

+18
-50
lines changed

15 files changed

+18
-50
lines changed

backend/app/Http/Actions/Orders/Public/CreateOrderActionPublic.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public function __invoke(CreateOrderRequest $request, int $eventId): JsonRespons
3838
$sessionId = $this->sessionIdentifierService->getSessionId();
3939

4040
$order = $this->orderHandler->handle(
41-
$eventId,
42-
CreateOrderPublicDTO::fromArray([
41+
eventId: $eventId,
42+
createOrderPublicDTO: CreateOrderPublicDTO::fromArray([
4343
'is_user_authenticated' => $this->isUserAuthenticated(),
4444
'promo_code' => $request->input('promo_code'),
4545
'products' => ProductOrderDetailsDTO::collectionFromArray($request->input('products')),

backend/app/Services/Domain/Payment/Stripe/EventHandlers/PaymentIntentSucceededHandler.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Brick\Math\Exception\RoundingNecessaryException;
88
use Brick\Money\Exception\UnknownCurrencyException;
99
use Carbon\Carbon;
10+
use HiEvents\DomainObjects\Enums\PaymentProviders;
1011
use HiEvents\DomainObjects\Generated\OrderDomainObjectAbstract;
1112
use HiEvents\DomainObjects\Generated\StripePaymentDomainObjectAbstract;
1213
use HiEvents\DomainObjects\OrderDomainObject;
@@ -84,6 +85,7 @@ private function updateOrderStatuses(StripePaymentDomainObjectAbstract $stripePa
8485
->updateFromArray($stripePayment->getOrderId(), [
8586
OrderDomainObjectAbstract::PAYMENT_STATUS => OrderPaymentStatus::PAYMENT_RECEIVED->name,
8687
OrderDomainObjectAbstract::STATUS => OrderStatus::COMPLETED->name,
88+
OrderDomainObjectAbstract::PAYMENT_PROVIDER => PaymentProviders::STRIPE->value,
8789
]);
8890
}
8991

@@ -109,7 +111,7 @@ private function updateStripePaymentInfo(PaymentIntent $paymentIntent, StripePay
109111
/**
110112
* If the order has expired (reserved_until is in the past), refund the payment and throw an exception.
111113
* This does seem quite extreme, but it ensures we don't oversell products. As far as I can see
112-
* this is how Productmaster and other producting systems work.
114+
* this is how Ticketmaster and other ticketing systems work.
113115
*
114116
* @throws ApiErrorException
115117
* @throws RoundingNecessaryException

backend/resources/views/emails/orders/organizer/summary-for-organizer.blade.php

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -29,39 +29,6 @@
2929
{{ __('View Order') }}
3030
</x-mail::button>
3131
32-
<div class="table">
33-
<table>
34-
<thead>
35-
<tr>
36-
<td><b>{{ __('Ticket') }}</b></td>
37-
<td><b>{{ __('Price') }}</b></td>
38-
<td><b>{{ __('Total') }}</b></td>
39-
</tr>
40-
</thead>
41-
<tbody>
42-
@foreach ($order->getOrderItems() as $ticket)
43-
<tr>
44-
<td>
45-
<b>{{ $ticket->getItemName() }} </b> x {{ $ticket->getQuantity()}}
46-
</td>
47-
<td>{{ Currency::format($ticket->getPrice() * $ticket->getQuantity(), $event->getCurrency()) }} </td>
48-
</tr>
49-
@endforeach
50-
<tr>
51-
<td colspan="3">
52-
<b>{{ __('Total') }}</b>
53-
</td>
54-
<td>
55-
{{ Currency::format($order->getTotalGross(), $event->getCurrency()) }}
56-
</td>
57-
</tr>
58-
</tbody>
59-
</table>
60-
</div>
61-
62-
{{ __('Best regards') }},
63-
<br>
64-
{{config('app.name')}}
6532
</x-mail::message>
6633
6734

backend/resources/views/vendor/mail/html/message.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<img src="{{ $appLogo }}" class="logo" alt="{{ config('app.name') }}"
77
style="max-width: 300px;">
88
@else
9-
<img src="{{ config('app.frontend_url') }}/logo-dark.svg" class="logo" alt="{{ config('app.name') }}"
9+
<img src="{{ config('app.frontend_url') }}/logo-dark.png" class="logo" alt="{{ config('app.name') }}"
1010
style="max-width: 300px;">
1111
@endif
1212
</x-mail::header>
@@ -30,7 +30,7 @@
3030
@if($appEmailFooter = config('app.email_footer_text'))
3131
{{ $appEmailFooter }}
3232
@else
33-
{{-- (c) Hi.Events Ltd 2024 --}}
33+
{{-- (c) Hi.Events Ltd 2025 --}}
3434
{{-- PLEASE NOTE: --}}
3535
{{-- Hi.Events is licensed under the GNU Affero General Public License (AGPL) version 3. --}}
3636
{{-- You can find the full license text at: https://github.com/HiEventsDev/hi.events/blob/main/LICENSE --}}

backend/resources/views/vendor/mail/html/themes/default.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,7 @@ img {
232232
.button-blue,
233233
.button-primary {
234234
background-color: #2d3748;
235-
border-bottom: 8px solid #2d3748;
236-
border-left: 18px solid #2d3748;
237-
border-right: 18px solid #2d3748;
238-
border-top: 8px solid #2d3748;
235+
padding: 16px 48px;
239236
}
240237

241238
.button-green,

backend/routes/mail.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
use HiEvents\DomainObjects\OrderDomainObject;
55
use HiEvents\DomainObjects\OrderItemDomainObject;
66
use HiEvents\DomainObjects\OrganizerDomainObject;
7+
use HiEvents\DomainObjects\Status\OrderStatus;
78
use HiEvents\Mail\Organizer\OrderSummaryForOrganizer;
89
use Illuminate\Support\Facades\Route;
910

@@ -24,6 +25,7 @@
2425
->setId(2)
2526
->setPublicId('123')
2627
->setShortId('123')
28+
->setStatus(OrderStatus::COMPLETED->name)
2729
->setOrderItems(collect([$orderItem, $orderItem2]));
2830

2931
$organizer = (new OrganizerDomainObject())

frontend/public/logo-dark.png

30.6 KB
Loading

frontend/src/components/common/PoweredByFooter/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import React from "react";
55
import {iHavePurchasedALicence} from "../../../utilites/helpers.ts";
66

77
/**
8-
* (c) Hi.Events Ltd 2024
8+
* (c) Hi.Events Ltd 2025
99
*
1010
* PLEASE NOTE:
1111
*

frontend/src/components/layouts/AuthLayout/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const AuthLayout = () => {
2727
<Outlet/>
2828
{
2929
/*
30-
* (c) Hi.Events Ltd 2024
30+
* (c) Hi.Events Ltd 2025
3131
*
3232
* PLEASE NOTE:
3333
*

frontend/src/components/layouts/EventHomepage/Footer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {PoweredByFooter} from "../../../common/PoweredByFooter";
44
export const Footer = () => {
55
return (
66
/**
7-
* (c) Hi.Events Ltd 2024
7+
* (c) Hi.Events Ltd 2025
88
*
99
* PLEASE NOTE:
1010
*

0 commit comments

Comments
 (0)