Hide ID: on ticket if the tax system is disabled

This commit is contained in:
Sebastian Schmidt 2018-09-14 16:44:11 +10:00
parent 08b8e590d8
commit 7c7942f4b0
3 changed files with 10 additions and 9 deletions

View File

@ -1,9 +1,9 @@
<?php
/*************************************************************************
Generated via "php artisan localization:missing" at 2018/04/18 16:27:47
Generated via "php artisan localization:missing" at 2018/04/18 16:27:47
*************************************************************************/
return array (
return [
//==================================== Translations ====================================//
'Contact' => 'Contact',
'DETAILS' => 'DETAILS',
@ -40,7 +40,7 @@ return array (
'expiry_year' => 'Expiry year',
'first_name' => 'First name',
'free' => 'FREE',
'inc_fees' => '(inc. :fees Fees)',
'inc_fees' => 'Booking Fees',
'last_name' => 'Last name',
'offline_payment_instructions' => 'Offline payment instructions',
'offline_payment_methods_available' => 'Offline Payment Methods Available',
@ -78,4 +78,4 @@ return array (
'your_information' => 'Your information',
'your_message' => 'Your message',
'your_name' => 'Your name',
);
];

View File

@ -1,9 +1,9 @@
<?php
/*************************************************************************
Generated via "php artisan localization:missing" at 2018/04/18 16:27:47
Generated via "php artisan localization:missing" at 2018/04/18 16:27:47
*************************************************************************/
return array (
return [
//==================================== Translations ====================================//
'Contact' => 'Kontakt',
'DETAILS' => 'SZCZEGÓŁY',
@ -40,7 +40,7 @@ return array (
'expiry_year' => 'Rok ważności karty',
'first_name' => 'Imię',
'free' => 'GRATIS',
'inc_fees' => '(uwzgl. opłaty: :fees)',
'inc_fees' => 'Opłaty za rezerwację',
'last_name' => 'Nazwisko',
'offline_payment_instructions' => 'Instrukcje płatności offline',
'offline_payment_methods_available' => 'Płatności offline dostępne',
@ -78,4 +78,4 @@ return array (
'your_information' => 'Twoje dane',
'your_message' => 'Twoja wiadomość',
'your_name' => 'Twoje imię',
);
];

View File

@ -95,8 +95,9 @@
$tax_amt = ($grand_total * $event->organiser->tax_value) / 100;
$grand_total = $tax_amt + $grand_total;
@endphp
{{money($grand_total, $order->event->currency)}} (inc. {{money($attendee->ticket->total_booking_fee, $order->event->currency)}} @lang("Public_ViewEvent.inc_fees") (inc. {{money($tax_amt, $order->event->currency)}} {{$event->organiser->tax_name}})
{{money($grand_total, $order->event->currency)}} @if ($attendee->ticket->total_booking_fee) (inc. {{money($attendee->ticket->total_booking_fee, $order->event->currency)}} @lang("Public_ViewEvent.inc_fees")) @endif @if ($event->organiser->tax_name) (inc. {{money($tax_amt, $order->event->currency)}} {{$event->organiser->tax_name}})
<br><br>{{$event->organiser->tax_name}} ID: {{ $event->organiser->tax_id }}
@endif
</div>
</div>
<div class="barcode">