63 lines
3.7 KiB
PHP
63 lines
3.7 KiB
PHP
<section>
|
|
<form wire:submit="save">
|
|
<x-header>
|
|
{{ __('Show Calculationpreset') }}
|
|
|
|
<x-slot name="headerright">
|
|
<flux:button wire:click="back" variant="primary" class="bg-transparent shadow-none text-gray-50 hover:bg-black/10 hover:cursor-pointer transition-all ease-in-out" icon="arrow-left">Back</flux:button>
|
|
<flux:button wire:click="edit({{ $calculationpreset->id }})" variant="primary" class="bg-selective text-gray-950 shadow-none hover:bg-selective-600 hover:cursor-pointer transition-all ease-in-out" icon="check">Edit</flux:button>
|
|
</x-slot>
|
|
</x-header>
|
|
|
|
<div class="container m-auto my-8 bg-elephant-950 border border-elephant-900 rounded-lg shadow p-6 text-gray-50">
|
|
<div>
|
|
<div class="px-4 sm:px-0">
|
|
<h3 class="text-base/7 font-semibold text-white">Calculationpreset Information</h3>
|
|
<p class="mt-1 max-w-2xl text-sm/6 text-gray-200">Calculationpreset details.</p>
|
|
</div>
|
|
<div class="mt-6 border-t border-white/10">
|
|
<dl class="divide-y divide-white/10">
|
|
<div class="px-4 py-6 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0 items-center">
|
|
<dt class="text-sm/6 font-medium text-gray-100">Name</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
{{ $calculationpreset->name }}
|
|
</dd>
|
|
</div>
|
|
<div class="px-4 py-6 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0 items-center">
|
|
<dt class="text-sm/6 font-medium text-gray-100">Description</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
{{ $calculationpreset->description }}
|
|
</dd>
|
|
</div>
|
|
<div class="px-4 py-6 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0 items-center">
|
|
<dt class="text-sm/6 font-medium text-gray-100">Price kW/h</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
{{ $calculationpreset->price_kwh }} €
|
|
</dd>
|
|
</div>
|
|
<div class="px-4 py-6 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0 items-center">
|
|
<dt class="text-sm/6 font-medium text-gray-100">Factor Printer</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
{{ $calculationpreset->factor_printer }} €
|
|
</dd>
|
|
</div>
|
|
<div class="px-4 py-6 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0 items-center">
|
|
<dt class="text-sm/6 font-medium text-gray-100">Factor Maintenance</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
{{ $calculationpreset->factor_maintenance }} €
|
|
</dd>
|
|
</div>
|
|
<div class="px-4 py-6 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0 items-center">
|
|
<dt class="text-sm/6 font-medium text-gray-100">Factor Price</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
{{ $calculationpreset->factor_price }} %
|
|
</dd>
|
|
</div>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</form>
|
|
</section>
|