-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIPRES-261: shipping option module setting #814
Changes from all commits
915d597
05a15e4
867408b
877f838
ece7b7c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace Mollie\Repository; | ||
|
||
class CarrierRepository extends AbstractRepository implements CarrierRepositoryInterface | ||
{ | ||
public function __construct() | ||
{ | ||
parent::__construct(\Carrier::class); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace Mollie\Repository; | ||
|
||
interface CarrierRepositoryInterface extends ReadOnlyRepositoryInterface | ||
{ | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,24 @@ | |
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<div class="card"> | ||
<h3 class="card-header"> | ||
<i class="material-icons">info_outline</i> {{ carrierInformationTitle }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. seems incorrect There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's copied from Presta so all good |
||
</h3> | ||
<div class="card-block"> | ||
<div class="card-text"> | ||
<p>{{carrierInformation1}}</p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. escape for validation |
||
<p>{{carrierInformation2}}</p> | ||
<p>{{carrierInformation3}}</p> | ||
<p>{{carrierInformation4}}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<div class="card"> | ||
|
@@ -68,7 +86,6 @@ | |
<div class="card-text"> | ||
<p>{{cartRule}}</p> | ||
<p>{{cartRule2}}</p> | ||
<p>{{cartRule3}}</p> | ||
</div> | ||
</div> | ||
</div> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$mappedCarriers[] = ['id' => $carrier->id, 'name' => $carrier->name];