-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22d7163
commit 6cc528c
Showing
63 changed files
with
601 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Check translations | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- '*.x' | ||
pull_request: | ||
|
||
jobs: | ||
translations: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.3' | ||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick | ||
coverage: none | ||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-interaction | ||
- name: Check translations | ||
uses: rapidez/laravel-translation-checker@master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@include('rapidez-ct::checkout.pages.credentials') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@include('rapidez-ct::checkout.pages.login') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@include('rapidez-ct::checkout.pages.payment') |
1 change: 1 addition & 0 deletions
1
resources/core-overwrites/checkout/steps/payment_method.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@include('rapidez-ct::checkout.steps.payment_method') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
Vue.component('checkout-address', () => import('./components/CheckoutAddress.vue')) | ||
Vue.component('checkout-success-addresses', () => import('./components/CheckoutSuccessAddresses.vue')) | ||
Vue.component('address-card', () => import('./components/AddressCard.vue')) | ||
|
||
Vue.mixin({ | ||
computed: { | ||
billingAndShippingAreTheSame() { | ||
if (this.$root.checkout.shipping_address?.customer_address_id) { | ||
this.$root.checkout.hide_billing = this.$root.checkout.shipping_address?.customer_address_id == this.$root.checkout.billing_address?.customer_address_id | ||
} | ||
|
||
return this.$root.checkout.hide_billing | ||
} | ||
} | ||
}) | ||
Vue.component('address-card', () => import('./components/AddressCard.vue')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<x-rapidez-ct::title-progress-bar> | ||
@lang('Cart') | ||
</x-rapidez-ct::title-progress-bar> | ||
<div class="flex flex-wrap gap-1 items-baseline justify-between"> | ||
<x-rapidez-ct::title> | ||
@lang('Cart') | ||
</x-rapidez-ct::title> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@extends('rapidez::layouts.app') | ||
|
||
@section('title', __('Checkout')) | ||
|
||
@section('robots', 'NOINDEX,NOFOLLOW') | ||
|
||
@section('content') | ||
<div class="container"> | ||
<x-rapidez-ct::layout class="mt-8 sm:mt-14" v-cloak> | ||
<x-rapidez-ct::title-progress-bar :href="route('cart')" :$checkoutSteps :$currentStep :$currentStepKey> | ||
@lang('Credentials') | ||
</x-rapidez-ct::title-progress-bar> | ||
|
||
<form | ||
class="contents" | ||
v-on:submit.prevent="(e) => { | ||
submitPartials(e.target?.form ?? e.target) | ||
.then((result) => | ||
window.app.$emit('checkout-credentials-saved') | ||
&& window.Turbo.visit(window.url('{{ route('checkout', ['step' => 'payment']) }}')) | ||
).catch(); | ||
}" | ||
> | ||
@include('rapidez-ct::checkout.steps.credentials') | ||
<x-rapidez-ct::toolbar> | ||
<x-rapidez-ct::button.outline :href="route('cart')"> | ||
@lang('Back to cart') | ||
</x-rapidez-ct::button.outline> | ||
|
||
<x-rapidez-ct::button.accent loader> | ||
@lang('Next') | ||
</x-rapidez-ct::button.accent> | ||
</x-rapidez-ct::toolbar> | ||
</form> | ||
<x-slot:sidebar> | ||
@include('rapidez-ct::checkout.partials.sidebar.sidebar') | ||
</x-slot:sidebar> | ||
</x-rapidez-ct::layout> | ||
</div> | ||
@endsection |
Oops, something went wrong.