@permission('mobileservice_contracts edit')
    <div class="action-btn me-2">
        <a class="bg-info btn btn-sm" data-url="{{ route('mobileservice-contract.edit', $mobileservice_contract->id) }}"
            data-ajax-popup="true" data-size="md" data-title="{{ __('Edit Service Contract') }}" data-toggle="tooltip"
            title="{{ __('Edit') }}">
            <i class="ti ti-pencil text-white"></i>
        </a>
    </div>
@endpermission

@permission('mobileservice_contracts delete')
    <div class="action-btn">
        <form method="POST" action="{{ route('mobileservice-contract.destroy', $mobileservice_contract->id) }}"
            id="delete-form-{{ $mobileservice_contract->id }}">
            @csrf
            @method('DELETE')
            <a href="#" class="bg-danger btn btn-sm show_confirm" data-bs-toggle="tooltip" title="{{ __('Delete') }}"
                data-original-title="{{ __('Delete') }}" data-confirm="{{ __('Are You Sure?') }}"
                data-text="{{ __('This action can not be undone. Do you want to continue?') }}"
                data-confirm-yes="delete-form-{{ $mobileservice_contract->id }}">
                <i class="ti ti-trash text-white"></i>
            </a>
        </form>
    </div>
@endpermission
