HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/carrotps/carrotps.com/resources/views/shop/partials/shipmentgroups/show.blade.php
@php /** @var \App\Komma\Shop\ShipmentGroups\ShipmentGroup $shipmentGroup */@endphp

<form action="{{ $saveRoute['route'] }}" method="POST">
    {{ method_field($saveRoute['method']) }}
    <div id="shipmentGroups_by_status">
        <h2>@lang('shop/shipmentGroups.whats_inside')</h2>
        <table>
            <thead>
                <th></th>
                <th></th>
                <th>@lang('shop/shipmentGroups.id')</th>
                <th>@lang('shop/shipments.status_name')</th>
                <th>@lang('shop/orders.status_name')</th>
                <th>@lang('shop/orders.order_number')</th>
                <th>@lang('shop/shipments.tracking_code')</th>
                <th>@lang('shop/shipments.comment')</th>
            </thead>
            <tbody dusk="shipment_group_shipments">
            @php /** @var \App\Komma\Shop\Shipments\Shipment $shipmentGroupshipment**/ @endphp
            @foreach($shipmentGroupShipments as $shipmentGroupshipment)
            <tr>
                <td>
                    <a href="{{ route('shipments.show', ['shipment' => $shipmentGroupshipment->id]) }}" dusk="open_shipment_{{ $shipmentGroupshipment->id }}">@lang('shop/shipments.shipment')</a>
                    <a href="{{ route('orders.show', ['order' => $shipmentGroupshipment->order]) }}">@lang('shop/orders.order')</a>
                </td>
                <td><input type="checkbox" title="shipment selector" name="shipment_ids[]" value="{{ $shipmentGroupshipment->id }}" dusk="shipment_{{ $shipmentGroupshipment->id }}"></td>
                <td> {{ $shipmentGroupshipment->id }}</td>
                <td>@lang('shop/shipments.status.'.$shipmentGroupshipment->status)</td>
                <td>@lang('shop/orders.status.'.$shipmentGroupshipment->order->status)</td>
                <td>{{ $shipmentGroupshipment->order->order_number }}</td>
                <td>{{ \Illuminate\Support\Str::limit($shipmentGroupshipment->tracking_code, 30) }}</td>
                <td>{{ \Illuminate\Support\Str::limit($shipmentGroupshipment->comment, 30) }}</td>
            </tr>
            @endforeach
            </tbody>
        </table>
        <div class="batch_edit_controls_group">
            <button type="submit" name="remove_from_group" value="remove_from_group">@lang('shop/shipmentgroups.remove')</button>
            <button type="submit" name="ship" value="ship" class="confirm"
                    data-confirm-header="@lang('shop/shipmentgroups.ship_confirmation.title')"
                    data-confirm-message="@lang('shop/shipmentgroups.ship_confirmation.message')"
                    data-confirm-confirm-text="@lang('shop/shipmentgroups.ship_confirmation.confirm')"
                    data-confirm-cancel-text="@lang('shop/shipmentgroups.ship_confirmation.cancel')"
                    dusk="ship"
            >@lang('shop/shipmentgroups.ship')</button>
        </div>
        <h2>@lang('shop/shipmentGroups.what_can_be_added')</h2>
        <table>
            <thead>
            <th></th>
            <th></th>
            <th>@lang('shop/shipmentGroups.id')</th>
            <th>@lang('shop/shipments.status_name')</th>
            <th>@lang('shop/orders.status_name')</th>
            <th>@lang('shop/orders.order_number')</th>
            <th>@lang('shop/shipments.tracking_code')</th>
            <th>@lang('shop/shipments.comment')</th>
            </thead>
            <tbody dusk="shipments">
            @php /** @var \App\Komma\Shop\Shipments\Shipment $shipment**/ @endphp
            @foreach($shipments as $shipment)
                <tr>
                    <td>
                        <a href="{{ route('shipments.show', ['shipment' => $shipment->id]) }}">@lang('shop/shipments.shipment')</a>
                        <a href="{{ route('orders.show', ['order' => $shipment->order]) }}">@lang('shop/orders.order')</a>
                    </td>
                    <td><input type="checkbox" title="shipment selector" name="shipment_ids[]" value="{{ $shipment->id }}" dusk="addable_shipment_{{ $shipment->id }}"></td>
                    <td> {{ $shipment->id }}</td>
                    <td>@lang('shop/shipments.status.'.$shipment->status)</td>
                    <td>@lang('shop/orders.status.'.$shipment->order->status)</td>
                    <td>{{ $shipment->order->order_number }}</td>
                    <td>{{ \Illuminate\Support\Str::limit($shipment->tracking_code, 30) }}</td>
                    <td>{{ \Illuminate\Support\Str::limit($shipment->comment, 30) }}</td>
                </tr>
            @endforeach
            </tbody>
        </table>
        <div class="batch_edit_controls_shipments">
            <button type="submit" name="add_to_group" value="add_to_group" dusk="add_to_group">@lang('shop/shipmentgroups.add')</button>
        </div>
    </div>
</form>