update
parent
3eca55c825
commit
1f455f6982
|
|
@ -92,11 +92,11 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
@if(@$item->status == 0 || @$item->status == 2)
|
||||
<div class="flex justify-center items-center gap-2">
|
||||
<a href="{{route($route.'.index')}}" class="bg-red-500 rounded py-2 px-3 text-white flex items-center"><i data-lucide="arrow-left" class="w-4 h-4 mr-2"></i><span>Batal</span></a>
|
||||
<button type="submit" class="bg-emerald-500 rounded py-2 px-3 text-white flex items-center"><i data-lucide="save" class="w-4 h-4 mr-2"></i><span> <span>Simpan</span></button>
|
||||
</div>
|
||||
@if((@$item->status == 0) || (@$item->status == 2) || (session('group_id') == 1) || (session('group_alias') == 'admin') || (session('group_alias') == 'admin_ta'))
|
||||
<div class="flex justify-center items-center gap-2">
|
||||
<a href="{{route($route.'.index')}}" class="bg-red-500 rounded py-2 px-3 text-white flex items-center"><i data-lucide="arrow-left" class="w-4 h-4 mr-2"></i><span>Batal</span></a>
|
||||
<button type="submit" class="bg-emerald-500 rounded py-2 px-3 text-white flex items-center"><i data-lucide="save" class="w-4 h-4 mr-2"></i><span> <span>Simpan</span></button>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in New Issue