@extends('Layouts.erp_master') @section('content') @php use App\Services\CommonService as Common; $startTimeTx = $CompanyData->tx_start_time; $endTimeTx = $CompanyData->tx_end_time; $flag = false; if (!empty($startTimeTx) || $startTimeTx != '00:00:00') { $startTimeTx = (new DateTime($startTimeTx))->format('H:i'); } if (!empty($endTimeTx) || $endTimeTx == '00:00:00') { $endTimeTx = (new DateTime($endTimeTx))->format('H:i'); } $checked1 = $checked2 = ''; if ($CompanyData->applicable_for == 2) { $checked2 = 'checked'; } else { $checked1 = 'checked'; } if ($CompanyData->schedule_flag == 1) { $flag = true; } @endphp
@endsection