@extends('layout') @section('title','Update User Invoice') @section('header') @parent @endsection @section('navigation') @parent @endsection @section('content')
{{method_field('PATCH')}} {{csrf_field()}}
@if ($errors->has('month'))

{{ $errors->first('month') }}

@endif
@php $imagedisplay = ""; $extension = explode('.',$user_bill_info->pdf_url)[1]; $all_extension_name = array("jpeg", "png", "jpg", "gif"); $all_pdf_extension_name = array("pdf"); $path = env('APP_URL').'/'.$user_bill_info->pdf_url; @endphp @if($user_bill_info->pdf_url) @if (in_array($extension, $all_extension_name))    @elseif(in_array($extension, $all_pdf_extension_name))    @else

@endif @endif @if ($errors->has('upload_dir'))

{{ $errors->first('upload_dir') }}

@endif
@endsection @section('footer') @parent @endsection