<div>
    {{-- <button 
    onclick="sendTripId('{{ $row->id }}')" 
    class="btn btn-sm btn-danger update-btn" 
    data-toggle="modal" 
    data-target="#viewModal">
    <i class="ri-eye-line"></i>
</button> --}}

    <a href="https://api.whatsapp.com/send?phone={{ $row->driver->telp }}" class="btn btn-sm btn-success me-1"
        target="_blank">
        <i class="ri-whatsapp-line"></i>
    </a>

    <button class="btn btn-sm btn-primary update-btn" data-delivery-status="{{ $row->status }}"
        data-delivery-id="{{ $row->id }}" data-delivery-uang-saku="{{ $row->uang_saku ?? 0 }}" data-toggle="modal" data-target="#costModal">
        <i class="ri-bank-card-2-line"></i>
    </button>

    <a href="{{ route('trip.edit', $row->id) }}" class="btn btn-sm btn-warning">
        <i class="ri-edit-2-line"></i>
    </a>
    <button class="btn btn-sm btn-info update-btn" data-status="{{ $row->status }}"
        data-delivery-id="{{ $row->id }}"data-delivery-delivery_id="{{ $row->status ?? 0 }}" data-toggle="modal" data-target="#updateModal">
        <i class="ri-arrow-right-line"></i>
    </button>
       
</div>

