@extends('back.layouts.app') @push('title', __('Edit Order')) @section('content')
@csrf
{{ __('Edit Order') }}


@if ($order->file)
{{ __('Current File :') }} {{ $order->file }}
@endif
file_url) value="{{ asset($order->file_url) }}" @endif>

{{ __('Stocks') }} ({{ __('Each row becomes a stock, one line is one stock') }})
{{ __('Add Import File') }} (.txt)
@if ($order->stocks) @php $array = json_decode($order->stocks, true); $textarea = ''; foreach ($array as $element) { $textarea .= $element . "\n"; } @endphp @else @endif {{ __('Stocks Count') }}: @if ($order->stocks) {{ count(json_decode($order->stocks, true)) }} @else 0 @endif
@endsection @push('js') @endpush