@extends('firm._layouts.standard') @section('_content')
@transUc('firm.sections.time_machine') - @if($sale->destination_type == 'table') @transUc('generic.table') {{ $sale->destination->name }} @elseif($sale->destination_type == 'address') {{ $sale->destination->customer->fullname }} @endif
{!! Form::open(['url' => route('firm.time-machine.rewind', $sale->id), 'novalidate' => '', 'id' => 'rewind-form']) !!}
@foreach($orders as $order)
@if($order->quantity != 1) @endif @if($order->quantity != 1)
{{ $order->visibleQuantity }}  @transUc('generic.uom-short.' . $order->product->uom)
@endif
{{ $order->product->name }}
@currencySymbol {{ $order->total_price }}
{{ $order->cancel_reason }}
@if($order->isTreat())
@transUc('generic.financial.treat')
@endif @foreach($order->product->specs as $spec) @foreach($spec->options as $option) @if($spec->multiselect) @if(!$option->default && $order->isOptionSelected($option))
{{ $option->name }}
@elseif($option->default && !$order->isOptionSelected($option))
{{ $option->name }}
@elseif($order->isOptionSelected($option))
{{ $option->name }}
@endif @else @if($order->isOptionSelected($option))
{{ $option->name }}
@endif @endif @endforeach @endforeach
@if($order->user && companySetting('show_waiter_names_in_checkout_screen'))
{{ $order->user->fullname }}
@endif
{{ $order->printTime() }}
@if($order->note)
@transUc('models.order.note') : {{ $order->note }}
@endif
@endforeach {!! Form::close() !!}
@endsection @section('print') {!! $bills !!} @endsection @section('scripts') @endsection