@php if ($permanentstaff == null) { $permanent_staff_id = ''; $permanent_staff_name_en = ''; $permanent_staff_name_th = ''; } else { $permanent_staff_id = $permanentstaff->permanent_staff_id; $permanent_staff_name_en = $permanentstaff->permanent_staff_name_en; $permanent_staff_name_th = $permanentstaff->permanent_staff_name_th; } @endphp @extends('layouts.master') @section('title', 'Permanent Staff Add/Edit') @section('style') @endsection @section('script') @endsection @section('content') @include('layouts.header') @include('layouts.header-sub') @yield('title') @csrf Permanent Staff Name (EN) Permanent Staff Name (TH) Back @include('layouts.footer') @endsection