Added Pop Over title to Expense Date to show the TimeStamp that expense was actually created in The Database. Will implement more Title Popovers throughout ITFlow where additional info like that can be useful

This commit is contained in:
johnnyq 2024-02-09 16:29:49 -05:00
parent f2cba616a4
commit 083d9eadc3
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ document.getElementById('rewordButton').addEventListener('click', function() {
// Prepare the API request payload
const data = {
model: "gpt-4", // or the latest available model
model: "text-davinci-004", // or the latest available model
prompt: `Reword the following text: "${textToReword}"`,
temperature: 0.7,
max_tokens: 1024,

View File

@ -169,7 +169,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
<input class="form-check-input bulk-select" type="checkbox" name="expense_ids[]" value="<?php echo $expense_id ?>">
</div>
</td>
<td><?php echo $receipt_attached; ?> <a class="text-dark" href="#" data-toggle="modal" data-target="#editExpenseModal<?php echo $expense_id; ?>"><?php echo $expense_date; ?></a></td>
<td><?php echo $receipt_attached; ?> <a class="text-dark" href="#" title="Created: <?php echo $expense_created_at; ?>" data-toggle="modal" data-target="#editExpenseModal<?php echo $expense_id; ?>"><?php echo $expense_date; ?></a></td>
<td><?php echo $vendor_name; ?></td>
<td><?php echo $category_name; ?></td>
<td><?php echo truncate($expense_description, 50); ?></td>