Skip to content

Commit 25252a2

Browse files
Fix button visibility issue in transaction.php
1 parent f8d1e2b commit 25252a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<h3 class="text-dark mb-0">Transaction</h3>
8989
</div>
9090
<div class="d-sm-flex justify-content-between align-items-center mb-4">
91-
<button class="btn btn-primary btn-sm mb-1" type="button" data-bs-target="#transaction" data-bs-toggle="modal"><i class="fas fa-truck-loading fa-sm text-white-50"></i>&nbsp;New Transaction</button>
91+
<button class="btn btn-primary btn-sm mb-1 <?php if ($fullname != 'NONE') {echo 'd-none';}?>" type="button" data-bs-target="#transaction" data-bs-toggle="modal"><i class="fas fa-truck-loading fa-sm text-white-50"></i>&nbsp;New Transaction</button>
9292
<button class="btn btn-primary btn-sm mb-1 <?php if ($fullname == 'NONE') {echo 'd-none';}?>" type="button" data-bs-target="#add" data-bs-toggle="modal"><i class="fas fa-truck-loading fa-sm text-white-50"></i>&nbsp;Add Item</button>
9393
</div>
9494
<div class="row <?php if ($fullname == 'NONE') {echo 'd-none';}?>">

0 commit comments

Comments
 (0)