Fixes for ordering, the themes are in frontend.metronic, not backend.adminlte
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 34s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s

This commit is contained in:
2024-08-15 21:30:34 +10:00
parent b4c7c3ad20
commit 5f66987a3e
15 changed files with 61 additions and 176 deletions

View File

@@ -1,37 +1,37 @@
<!-- $o = Product::class -->
<!-- $pdo=Product::class -->
<div class="col-md-12">
<p>{!! $o->name !!}</p>
<p>{!! $pdo->name !!}</p>
</div>
<table class="table table-condensed">
<tr>
<th>Type</th>
<td class="text-right">{{ $o->category_name }}</td>
<td class="text-right">{{ $pdo->category_name }}</td>
</tr>
@if ($o->setup_charge)
@if ($pdo->setup_charge)
<tr>
<th>Setup Charges <sup>*</sup></th>
{{-- @todo this should use account::taxed() when the user is known --}}
<td class="text-right">${{ number_format($user->exists ? Config::get('site')->taxed($o->setup_charge) : Config::get('site')->taxed($o->setup_charge),2) }}</td>
<td class="text-right">${{ number_format($user->exists ? Config::get('site')->taxed($pdo->setup_charge) : Config::get('site')->taxed($pdo->setup_charge),2) }}</td>
</tr>
@endif
<tr>
<th>Cost <sup>+</sup></th>
{{-- @todo this should use account::taxed() when the user is known --}}
<td class="text-right">${{ number_format($user->exists ? Config::get('site')->taxed($o->base_charge) : Config::get('site')->taxed($o->base_charge),2) }}</td>
<td class="text-right">${{ number_format($user->exists ? Config::get('site')->taxed($pdo->base_charge) : Config::get('site')->taxed($pdo->base_charge),2) }}</td>
</tr>
<tr>
<th>Default Billing</th>
<td class="text-right">{{ $o->billing_interval_string }}</td>
<td class="text-right">{{ $pdo->billing_interval_string }}</td>
</tr>
<tr>
<th>Contract Term</th>
<td class="text-right">{{ $o->contract_term }} mths</td>
<td class="text-right">{{ $pdo->contract_term }} mths</td>
</tr>
<tr>
<th>Minimum Costs <sup>+*</sup></th>
{{-- @todo this should use account::taxed() when the user is known --}}
<td class="text-right">${{ number_format($user->exists ? Config::get('site')->taxed($o->min_charge) : Config::get('site')->taxed($o->min_charge),2) }}</td>
<td class="text-right">${{ number_format($user->exists ? Config::get('site')->taxed($pdo->min_charge) : Config::get('site')->taxed($pdo->min_charge),2) }}</td>
</tr>
<tfoot>

View File

@@ -1,4 +1,4 @@
<!-- $o = Product::class -->
<!-- $pdo=Product::class -->
@include('theme.frontend.metronic.order.widget.info.base',['footer'=>'
<sup>
* Additional setup charges may apply for complex installations.<br>

View File

@@ -1,4 +1,4 @@
<!-- $o = Product::class -->
<!-- $pdo=Product::class -->
@include('theme.frontend.metronic.order.widget.info.base',['footer'=>'
<sup>
* Depends on domain availability.<br>

View File

@@ -1,4 +1,4 @@
<!-- $o = Product::class -->
<!-- $pdo=Product::class -->
@include('theme.frontend.metronic.order.widget.info.base',['footer'=>'
<sup>
* Depends on domain availability.<br>

View File

@@ -1,4 +1,4 @@
<!-- $o = Product::class -->
<!-- $pdo=Product::class -->
@include('theme.frontend.metronic.order.widget.info.base',['footer'=>'
<sup>
* Depends on domain availability.<br>

View File

@@ -1,4 +1,4 @@
<!-- $o = Product::class -->
<!-- $pdo=Product::class -->
@include('theme.frontend.metronic.order.widget.info.base',['footer'=>'
<sup>
* Depends on complex porting.<br>