hi,
is it possible to list all purchased product inside the client profile?
so far i’ve done:
Add new “Order List” toggle inside client profile submenu:
- C:\xampp\htdocs\ip\application\modules\clients\views\view.php
add line 77
<li><a data-toggle="tab" href="#clientOrder"><?php _trans('Order List'); ?></a></li>
add line 367
<div id="clientOrder" class="tab-pane table-content">
<?php echo $purchase_table; ?>
</div>
-
create new file “partial_purchased_list.php” on C:\xampp\htdocs\ip\application\modules\invoices\views
-
add new array C:\xampp\htdocs\ip\application\modules\clients\controllers\Clients.php
line 226
array(
'purchase_table',
'invoices/partial_purchased_list'
),
But. i don’t know how to pull the data from mysql and edit “partial_purchased_list.php” to show all purchased product inside the client profile.
Thanks for your help.