Want to add URL same as Workflow, in a button

I have made a Notification with below HTML Code

<!DOCTYPE html>
        table {
            width: 100%;
        th, td {
            text-align: left;
            padding: 8px;
        th {
            background-color: #f2f2f2;
        .action-buttons {
            margin-top: 20px;
        .action-button {
            padding: 10px 20px;
            margin-right: 10px;
            background-color: #007bff;
            color: white;
            text-decoration: none;
            border-radius: 5px;
        .reject-button {
            background-color: #dc3545;

<h2 style="margin-top:-20px;">EXPENSE CLAIM</h2>

<p><strong>Employee ID :</strong> {{ doc.employee }}</p>
<p><strong>Employee Name :</strong> {{ doc.employee_name }}</p>

            <th>Expense Date</th>
            <th>Expense Claim Type</th>
        {% for x in doc.expenses %}
            <td>{{ loop.index }}. {{ x.expense_date }}</td>
            <td>{{ x.expense_type }}</td>
            <td>{{ x.description }}</td>
            <td>{{ x.amount }}</td>
        {% endfor %}

<p><strong>Grand Total :</strong> {{ doc.grand_total }}</p>

<div class="action-buttons">
    <a href="{{ doc.name }}&action=Pending+Manager&current_state={{ doc.workflow_state }}&user={{ frappe.session.user }}&last_modified={{ doc.modified }}&_signature=1234"
       class="action-button">Pending Manager</a>
    <a href="{{ doc.name }}&action=Reject&current_state={{ doc.workflow_state }}&user={{ frappe.session.user }}&last_modified={{ doc.modified }}&_signature=1234"
       class="action-button reject-button">Reject</a>


This is what email is send

This is the error coming when any of the button is clicked (Pending Manager, Reject)

Below is the URL for the above image

How to resolve this so that, it opens likes this

Anyone know the solution ?

Anyone please help, i am stuck in this task

Please anyone who can help, any suggestion is useful
some signature thing is their when link is generated, how to make that correct one

Eg : this is the correct link which i want

this is the my currect link which is generated

how can i make same ?