# Account Details

{% hint style="info" %}
This Account Details page is designed for users to access information about their account, such as details, logs, and their roles. Additionally, when users click on the 'Update signature' button, they will be taken to a page where they can modify their personal signature.
{% endhint %}

###

{% tabs %}
{% tab title="Navigation to the page" %}

* Login as an Admin > Account Details

<figure><img src="https://1721684721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPaF9cGX0SlYrvgRNs9Wi%2Fuploads%2Fi6CUWLDwNM8daZdMS1aH%2Fimage.png?alt=media&#x26;token=a28b3d0a-4a6b-4484-934b-472e70310ce3" alt=""><figcaption><p>Navigation to Acount Details page</p></figcaption></figure>
{% endtab %}

{% tab title="Functions" %}

<figure><img src="https://1721684721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPaF9cGX0SlYrvgRNs9Wi%2Fuploads%2F8Lq3vkaVPxtktE9XnRcw%2Fimage.png?alt=media&#x26;token=c5640b2a-5783-47f8-a9d2-7ef84c8576db" alt=""><figcaption><p>My Account</p></figcaption></figure>

When the user clicks on the "Update Signature" button, they will be taken to a page specifically designed for updating their signature.&#x20;

<figure><img src="https://1721684721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPaF9cGX0SlYrvgRNs9Wi%2Fuploads%2FNMkx3qooT8KAqFD1aywF%2Fimage.png?alt=media&#x26;token=14b730c3-e8fb-4359-b86a-6e408d932062" alt=""><figcaption><p>Create a signature </p></figcaption></figure>

On this page, the user can do two main things:

* Add a New Signature: The user can create and set a new signature using the provided tools or options.
* View Last Saved Signature: The user can see their previously saved signature, which was set before any updates were made.

Additionally, while creating a new signature, the user will have the option to perform two actions:

* Undo: If the user makes a mistake while creating their new signature, they can undo the last action they took.
* Clear: The user can completely remove the current progress of their new signature and start over from a blank slate.

These features provide the user with flexibility and control over their signature update process.
{% endtab %}

{% tab title="Database tables and important queries" %}
Below are the related DB tables:

* users
  {% endtab %}

{% tab title="Paths" %}

#### Function path

```
app/Http/Controllers/Admin/Account/AccountController.php->index()
```

***

#### Signature function path

```
app/Http/Controllers/Admin/Account/AccountController.php->edit_signature()
app/Http/Controllers/Admin/Account/AccountController.php->update_signature()
```

***

#### Image upload path

```
users table under signature column as base 64 image
```

{% endtab %}
{% endtabs %}
