Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PA1-1617-D3TI107
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franciskus Partogu Hamonangan Napitupulu
PA1-1617-D3TI107
Commits
ff9a9916
Commit
ff9a9916
authored
May 23, 2017
by
Franciskus Partogu Hamonangan Napitupulu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perbaikan keranjang belanja
parent
f75188ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
checkout.php
checkout.php
+2
-4
No files found.
checkout.php
View file @
ff9a9916
...
...
@@ -33,7 +33,6 @@
<th>
No. Pesanan
</th>
<th>
ISBN
</th>
<th>
Judul Buku
</th>
<th>
Gambar
</th>
<th>
Harga
</th>
<th>
Jumlah
</th>
<th>
Sub-Total
</th>
...
...
@@ -55,7 +54,6 @@
<td
class=
"invert"
>
<?php
echo
$no
++
;
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'isbn'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'judul'
];
?>
</td>
<td
class=
"invert-image"
>
<?php
echo
$data
[
'gambar'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'harga'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
number_format
(
$val
);
?>
</td>
<td
class=
"invert"
>
Rp.
<?php
echo
number_format
(
$jumlah_harga
);
?>
,00
</td>
...
...
@@ -94,7 +92,7 @@
}
elseif
(
$total
!=
0
)
{
echo
'
<tr style="background-color:#dbase_delete_record(dbase_identifier, record_number);"><td colspan="
4
" align="right"><b>Total :</b></td><td align="right"><b>Rp. '
.
number_format
(
$total
,
2
,
","
,
"."
)
.
'</b></td></td></td></tr></table>
<tr style="background-color:#dbase_delete_record(dbase_identifier, record_number);"><td colspan="
5
" align="right"><b>Total :</b></td><td align="right"><b>Rp. '
.
number_format
(
$total
,
2
,
","
,
"."
)
.
'</b></td></td></td></tr></table>
<p><div align="right">
<div class="checkout-right-basket">
<a href="allbook.php"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span>Lanjut Berbelanja</a>
...
...
@@ -106,7 +104,7 @@
}
else
{
echo
'
<tr><td colspan="
8
" align="center" style="background-color:#ffffff">
<tr><td colspan="
7
" align="center" style="background-color:#ffffff">
Ups, Keranjang belanja kosong ! </td></tr></table>
<div class="checkout-right-basket">
<a href="allbook.php"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span>Lanjut Berbelanja</a>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment