organiser localization fix

This commit is contained in:
merdan 2020-03-07 12:34:26 +05:00
parent a62482c2e6
commit 8ca82e9fbf
4 changed files with 15 additions and 14 deletions

View File

@ -248,8 +248,8 @@ class EventOrdersController extends MyBaseController
try {
$payment_gateway_config = $order->account->getGateway($order->payment_gateway->id)->config + [
'testMode' => config('attendize.enable_test_payments')];
// $payment_gateway_config = $order->account->getGateway($order->payment_gateway->id)->config + [
// 'testMode' => config('attendize.enable_test_payments')];
//$payment_gateway_factory = new PaymentGatewayFactory();
//$gateway = $payment_gateway_factory->create($order->payment_gateway->name, $payment_gateway_config);

View File

@ -1,7 +1,7 @@
<?php
return [
"processing" => "Just a second...",
"processing" => "Garaşyň...",
"time_run_out" => "You have run out of time! You will have to restart the order process.",
"just_2_minutes" => "You only have 2 minutes left to complete this order!",
"whoops" => 'Whoops!, it looks like the server returned an error.
@ -14,4 +14,4 @@ return [
"cvc_error" => 'The CVC number appears to be invalid.',
"card_validation_error" => 'Please check your card details and try again.',
"checkin_init_error" => 'There was an error while initializing scanner. Check if you\'re connecting through secure page (https) and that your browser supports the scanner.',
];
];

View File

@ -40,14 +40,15 @@
<script src="{{asset('assets/javascript/components/hs.datepicker.js')}}" type="text/javascript"></script>
<script>
$('#datepicker').datepicker({
uiLibrary: 'bootstrap4',
icons: {
rightIcon: '{{__("ClientSide.date")}} <i class="fa fa-caret-down"></i>'
}
}).on('changeDate', function(e) {
console.log(e.format());
});
{{--$('#datepicker').datepicker({--}}
{{-- uiLibrary: 'bootstrap4',--}}
{{-- icons: {--}}
{{-- rightIcon: '{{__("ClientSide.date")}} <i class="fa fa-caret-down"></i>'--}}
{{-- }--}}
{{--}).on('changeDate', function(e) {--}}
{{-- console.log(e.format());--}}
{{--});--}}
$.HSCore.components.HSDatepicker.init('#datepicker');
</script>

View File

@ -6,13 +6,13 @@
@foreach ($breadcrumbs as $breadcrumb)
@if ($breadcrumb->url && !$loop->last)
<li style="text-transform: capitalize">
<a class="capitalizer" style="text-transform: capitalize" href="{{ $breadcrumb->url }}">{{ $breadcrumb->title }}</a>
<a class="text-uppercase" style="text-transform: capitalize" href="{{ $breadcrumb->url }}">{{ $breadcrumb->title }}</a>
</li>
<li>
<i class="fa fa-caret-right"></i>
</li>
@else
<li class="page-name capitalizer" style="color: #7f7f7f; text-transform: capitalize">
<li class="page-name text-capitalize" style="color: #7f7f7f; text-transform: capitalize">
{{ $breadcrumb->title }}
</li>
@endif