@if (Auth()->user()->type_user != 1) @include('erros.404') @dd() @else @php $article_max_id = App\Models\Article::max('id') + 1; $article_code = "PR_" . str_pad($article_max_id, 3, '0', STR_PAD_LEFT) @endphp @extends('layouts.admin.master') @section('title', "Articles") @section('content')