mirror of
https://github.com/itflow-org/itflow
synced 2026-03-10 07:44:50 +00:00
Add stripe_pm_created_at
This commit is contained in:
@@ -18,6 +18,8 @@ $stripe_clients_sql = mysqli_query($mysqli, "SELECT * FROM client_stripe LEFT JO
|
|||||||
<th>Client</th>
|
<th>Client</th>
|
||||||
<th>Stripe Customer ID</th>
|
<th>Stripe Customer ID</th>
|
||||||
<th>Stripe Payment ID</th>
|
<th>Stripe Payment ID</th>
|
||||||
|
<th>Payment Details</th>
|
||||||
|
<th>Created</th>
|
||||||
<th class="text-center">Action</th>
|
<th class="text-center">Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@@ -29,13 +31,17 @@ $stripe_clients_sql = mysqli_query($mysqli, "SELECT * FROM client_stripe LEFT JO
|
|||||||
$client_name = nullable_htmlentities($row['client_name']);
|
$client_name = nullable_htmlentities($row['client_name']);
|
||||||
$stripe_id = nullable_htmlentities($row['stripe_id']);
|
$stripe_id = nullable_htmlentities($row['stripe_id']);
|
||||||
$stripe_pm = nullable_htmlentities($row['stripe_pm']);
|
$stripe_pm = nullable_htmlentities($row['stripe_pm']);
|
||||||
|
$stripe_pm_details = nullable_htmlentities($row['stripe_pm_details']);
|
||||||
|
$stripe_pm_created_at = nullable_htmlentities($row['stripe_pm_created_at']);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php echo "$client_name ($client_id)" ?></td>
|
<td><?php echo "$client_name ($client_id)"; ?></td>
|
||||||
<td><?php echo $stripe_id; ?></td>
|
<td><?php echo $stripe_id; ?></td>
|
||||||
<td><?php echo $stripe_pm ?></td>
|
<td><?php echo $stripe_pm; ?></td>
|
||||||
|
<td><?php echo $stripe_pm_details; ?></td>
|
||||||
|
<td><?php echo $stripe_pm_created_at; ?></td>
|
||||||
<td>
|
<td>
|
||||||
<div class="dropdown dropleft text-center">
|
<div class="dropdown dropleft text-center">
|
||||||
<button class="btn btn-secondary btn-sm" type="button" data-toggle="dropdown">
|
<button class="btn btn-secondary btn-sm" type="button" data-toggle="dropdown">
|
||||||
|
|||||||
@@ -3459,10 +3459,13 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
|
|||||||
|
|
||||||
if (CURRENT_DATABASE_VERSION == '2.1.3') {
|
if (CURRENT_DATABASE_VERSION == '2.1.3') {
|
||||||
mysqli_query($mysqli, "ALTER TABLE `client_stripe` ADD `stripe_pm_details` VARCHAR(200) DEFAULT NULL AFTER `stripe_pm`");
|
mysqli_query($mysqli, "ALTER TABLE `client_stripe` ADD `stripe_pm_details` VARCHAR(200) DEFAULT NULL AFTER `stripe_pm`");
|
||||||
|
mysqli_query($mysqli, "ALTER TABLE `client_stripe` ADD `stripe_pm_created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `stripe_pm_details`");
|
||||||
|
|
||||||
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '2.1.4'");
|
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '2.1.4'");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// if (CURRENT_DATABASE_VERSION == '2.1.4') {
|
// if (CURRENT_DATABASE_VERSION == '2.1.4') {
|
||||||
// // Insert queries here required to update to DB version 2.1.5
|
// // Insert queries here required to update to DB version 2.1.5
|
||||||
// // Then, update the database to the next sequential version
|
// // Then, update the database to the next sequential version
|
||||||
|
|||||||
Reference in New Issue
Block a user