@extends('layouts/app') @section('content')

Receipt Footer Settings

@if(Session::has('message'))
Success
{{ Session::get('message') }} @php Session::forget('message'); @endphp
@endif @if(Session::has('error'))
Errors!
@foreach(Session::get('error') as $err) {{ $err }}
@endforeach @php Session::forget('error'); @endphp
@endif

Note:

* The footer can left empty or must not exceeds 4 lines once have data.

* Each line must not consists more than 48 characters.

* Please ensure the file is a valid image file (JPG/JPEG/PNG).

* Uploaded image will replace existing one.

* Image File Size is limited to a maximum of 20MB only.

@csrf
@if ($errors->has('fileUpload')) {{ $errors->first('fileUpload') }} @endif
@php if (env('S3_ENABLED') && $game_lists[0]->s3_key) { $url = Storage::disk('s3')->temporaryUrl($game_lists[0]->s3_key, now()->addMinutes(decrypt(env('AWS_FILE_EXPIRED_TIME')))); } else { $url = Storage::disk('local_upload')->url($game_lists[0]->item_url); } @endphp @if (@getimagesize($url))
@endif
@if ($errors->has('msg.*')) {{ $errors->first('msg.*') }} @endif
@if(!empty($game_lists)) @foreach($game_lists as $game) @php $game_id = $game->guid; @endphp @endforeach
No Name
{{$loop->iteration}} {{$game->name}} @if ($errors->has('msg.$game_id')) {{ $errors->first('msg.$game_id') }} @endif
@endif
@endsection @section('js') @stop