<
table
id
=
"so_data"
class
=
"table table-bordered table-hover"
>
<
thead
>
<
tr
class
=
"kop"
>
<
th
class
=
"text-center"
style
=
"
width:50px;"
>
Code
</
th
>
<
th
class
=
"text-center"
>
Description
</
th
>
<
th
class
=
"text-center"
style
=
"
width:70px;"
>
Qty
</
th
>
<
th
class
=
"text-center"
style
=
"
width:30px;"
>
Unit
</
th
>
<
th
class
=
"text-center"
style
=
"
width:80px;"
>
Price
</
th
>
<
th
class
=
"text-center"
style
=
"
width:110px;"
>
Total
</
th
>
<
th
class
=
"text-center"
style
=
"
width:50px;"
>
Delete
</
th
>
</
tr
>
</
thead
>
<
tbody
>
<?php
foreach
(
$soDtl
as
$row
) {
?
>
<
tr
>
<
td
>
<?php
echo
$row
->
Code
;
?
>
</
td
>
<
td
>
<?php
echo
$row
->
description
;
?
>
</
td
>
<
td
class
=
"text-right"
>
<
input
type
=
"text"
value
=
"
<?php
echo
$row
->
QtyTemp
?
>
"
class
=
"eData"
/>
</
td
>
<
td
>
<?php
echo
$row
->
UnitName
;
?
>
</
td
>
<
td
class
=
"text-right"
>
<
input
type
=
"text"
value
=
"
<?php
echo
$row
->
Price
?
>
"
class
=
"eDataPrice"
/>
</
td
>
<
td
class
=
"text-right"
>
<?php
echo
number_format
(
$row
->
Total
);
?
>
</
td
>
<
td
>
<
button
class
=
"hapusBaris"
></
button
>
</
td
>
</
tr
>
<?php
}
?
>
</
tbody
>
</
table
>