settings and page view

This commit is contained in:
merdan 2020-04-08 16:34:07 +05:00
parent ae0b1f59ce
commit bc77747420
3 changed files with 7 additions and 4 deletions

View File

@ -22,7 +22,7 @@ class EventOrderService
/**
* @var float
*/
private $totalBookingFee;
public $totalBookingFee;
/**
* @var Event

View File

@ -26,7 +26,7 @@ class AlterAddExpectsPaymentToReservedTicketsTable extends Migration
public function down()
{
Schema::table('reserved_tickets', function (Blueprint $table) {
$table->dropColumn('expexts_payment_at');
$table->dropColumn('expects_payment_at');
});
}
}

View File

@ -209,7 +209,7 @@
<tr>
<th></th>
<th style="text-align: right;">@lang('Public_ViewEvent.price')</th>
<th style="text-align: right;">@lang('Public_ViewEvent.booking_fees')</th>
{{-- <th style="text-align: right;">@lang('Public_ViewEvent.booking_fees')</th>--}}
<th style="text-align: right;">@lang('Public_ViewEvent.sub_total')</th>
</tr>
</thead>
@ -223,7 +223,7 @@
{{ money($ticket['original_price'], $event->currency) }}
@endif
</td>
<td style="text-align: right;">{{money($ticket['total_booking_fee'], $event->currency)}}</td>
{{-- <td style="text-align: right;">{{money($ticket['total_booking_fee'], $event->currency)}}</td>--}}
<td style="text-align: right;">{{money($ticket['price']+$ticket['organiser_booking_fee']+$ticket['booking_fee'], $event->currency)}}</td>
</tr>
@endforeach
@ -231,6 +231,9 @@
</div>
@if($order_total > 0)
<div class="card-footer">
@if($orderService->totalBookingFee)
<h5>@lang('Public_ViewEvent.booking_fees'): <span style="float: right;"><b>{{$orderService->totalBookingFee}}</b></span></h5>
@endif
<h5>
@lang("Public_ViewEvent.total"): <span style="float: right;"><b>{{ $orderService->getOrderTotalWithBookingFee(true) }}</b></span>
</h5>