Skip to content

Commit 6d42cd2

Browse files
Update spelling of "receipt" in code files
1 parent 88eb315 commit 6d42cd2

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

functions/proceed-transaction.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@
7373
$stmt->execute();
7474

7575
generate_logs('New Pending Transaction', $_SESSION['id'].' added a new pending transaction');
76-
header('location: ../reciept.php?id='.$transaction_id);
76+
header('location: ../receipt.php?id='.$transaction_id);

functions/views/sales.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
foreach ($results as $row) {
1414
echo '<tr>';
1515
?>
16-
<td><a class="mx-1 text-decoration-none" target="_blank" href="reciept.php?id=<?php echo $row['id'] ?>&type=view"><i class="fas fa-print" style="font-size: 20px;"></i> <?= $row['id'] ?></a></td>
16+
<td><a class="mx-1 text-decoration-none" target="_blank" href="receipt.php?id=<?php echo $row['id'] ?>&type=view"><i class="fas fa-print" style="font-size: 20px;"></i> <?= $row['id'] ?></a></td>
1717
<?php
1818
echo '<td><img class="rounded-circle me-2" width="30" height="30" src="assets/img/profile.png">' . $row['fullname'] . '</td>';
1919
echo '<td><img class="rounded-circle me-2" width="30" height="30" src="assets/img/profile.png">' . $row['username'] . '</td>';

invoice.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$id = $_GET['id'];
55
$get_tracking_url = getHostByName(getHostName()) . dirname($_SERVER['PHP_SELF']) . '/tracking.php?id=' . $id;
66

7-
function getLaundryReciept(){
7+
function getLaundryReceipt(){
88
global $db;
99
global $id;
1010
$sql = "SELECT t.id, t.customer_id, t.user_id, t.total, l.kilo, p.price, p.name, c.fullname, p.unit
@@ -30,7 +30,7 @@ function getLaundryReciept(){
3030
}
3131
}
3232

33-
function getItemsReciept(){
33+
function getItemsReceipt(){
3434
global $db;
3535
global $id;
3636
$sql = "SELECT e.qty, e.item_id, i.name, i.unit
@@ -115,7 +115,7 @@ function getItemsReciept(){
115115
<table class="table table-borderless">
116116
<thead>
117117
<tr>
118-
<th class="font-monospace text-center" style="font-size: 15px;">Laundry Reciept</th>
118+
<th class="font-monospace text-center" style="font-size: 15px;">Laundry Receipt</th>
119119
</tr>
120120
</thead>
121121
<tbody class="font-monospace">
@@ -162,7 +162,7 @@ function getItemsReciept(){
162162
</tr>
163163
</thead>
164164
<tbody class="font-monospace">
165-
<?php getLaundryReciept()?>
165+
<?php getLaundryReceipt()?>
166166
</tbody>
167167
</table>
168168
</div>
@@ -188,7 +188,7 @@ function getItemsReciept(){
188188
</tr>
189189
</thead>
190190
<tbody class="font-monospace">
191-
<?php getItemsReciept() ?>
191+
<?php getItemsReceipt() ?>
192192
</tbody>
193193
</table>
194194
</div>
@@ -212,7 +212,7 @@ function getItemsReciept(){
212212
<table class="table table-borderless">
213213
<thead class="font-monospace">
214214
<tr class="font-monospace">
215-
<th class="font-monospace text-center"><strong class="text-danger">**** PLEASE BRING THE RECIEPT TO CLAIM YOUR LAUNDRY ****</strong></th>
215+
<th class="font-monospace text-center"><strong class="text-danger">**** PLEASE BRING THE RECEIPT TO CLAIM YOUR LAUNDRY ****</strong></th>
216216
</tr>
217217
</thead>
218218
<tbody>

profile-customer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898

9999
foreach ($results as $row) {
100100
echo '<tr>';
101-
echo '<td><a class="mx-1 text-decoration-none" target="_blank" href="reciept.php?id='.$row['id'].'&type=view"><i class="fas fa-print" style="font-size: 20px;"></i> '.$row['id'].'</a></td>';
101+
echo '<td><a class="mx-1 text-decoration-none" target="_blank" href="receipt?id='.$row['id'].'&type=view"><i class="fas fa-print" style="font-size: 20px;"></i> '.$row['id'].'</a></td>';
102102
echo '<td><img class="rounded-circle me-2" width="30" height="30" src="assets/img/profile.png">' . $row['fullname'] . '</td>';
103103
echo '<td><img class="rounded-circle me-2" width="30" height="30" src="assets/img/profile.png">' . $row['username'] . '</td>';
104104
echo '<td>₱' . number_format($row['total'], 2) . '</td>';

reciept.php receipt.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$id = $_GET['id'];
55
$get_tracking_url = getHostByName(getHostName()) . dirname($_SERVER['PHP_SELF']) . '/tracking.php?id=' . $id;
66

7-
function getLaundryReciept(){
7+
function getLaundryReceipt(){
88
global $db;
99
global $id;
1010
$sql = "SELECT t.id, t.customer_id, t.user_id, t.total, l.kilo, p.price, p.name, c.fullname, p.unit
@@ -30,7 +30,7 @@ function getLaundryReciept(){
3030
}
3131
}
3232

33-
function getItemsReciept(){
33+
function getItemsReceipt(){
3434
global $db;
3535
global $id;
3636
$sql = "SELECT e.qty, e.item_id, i.name, i.unit
@@ -115,7 +115,7 @@ function getItemsReciept(){
115115
<table class="table table-borderless">
116116
<thead>
117117
<tr>
118-
<th class="font-monospace text-center" style="font-size: 15px;">Laundry Reciept</th>
118+
<th class="font-monospace text-center" style="font-size: 15px;">Laundry Receipt</th>
119119
</tr>
120120
</thead>
121121
<tbody class="font-monospace">
@@ -162,7 +162,7 @@ function getItemsReciept(){
162162
</tr>
163163
</thead>
164164
<tbody class="font-monospace">
165-
<?php getLaundryReciept()?>
165+
<?php getLaundryReceipt()?>
166166
</tbody>
167167
</table>
168168
</div>
@@ -188,7 +188,7 @@ function getItemsReciept(){
188188
</tr>
189189
</thead>
190190
<tbody class="font-monospace">
191-
<?php getItemsReciept() ?>
191+
<?php getItemsReceipt() ?>
192192
</tbody>
193193
</table>
194194
</div>
@@ -212,7 +212,7 @@ function getItemsReciept(){
212212
<table class="table table-borderless">
213213
<thead class="font-monospace">
214214
<tr class="font-monospace">
215-
<th class="font-monospace text-center"><strong class="text-danger">**** PLEASE BRING THE RECIEPT TO CLAIM YOUR LAUNDRY ****</strong></th>
215+
<th class="font-monospace text-center"><strong class="text-danger">**** PLEASE BRING THE Receipt TO CLAIM YOUR LAUNDRY ****</strong></th>
216216
</tr>
217217
</thead>
218218
<tbody>

0 commit comments

Comments
 (0)