Thanks, Jeff. I'll get a zc157/SNAP test site together, since zc155f/SNAP seem to be working.
Printable View
Thanks, Jeff. I'll get a zc157/SNAP test site together, since zc155f/SNAP seem to be working.
Jeff, when you inspect those older orders via phpMyAdmin, what date(s) are shown for commissions::commissions_paid? Are all the unpaid commissions' commissions_paid dates 0001-01-01 00:00:00?
Yes, here is a screenshot:
https://i.postimg.cc/yxP29T78/screenshot-1298.png
As a way of testing, I would say to have some unpaid commissions for the month prior (like August 2020) but have ZERO unpaid commissions in this month (September 2020). In other words, no commissions were generated in the current month, but we have unpaid commissions for the month prior.
Change the Order History drop down box to list all orders from August 2020 to August 2020. Then hit the PAY button and see if it doesn't list those orders for payment.
Browsing this thread, I am also having issues with Snap Affiliates since moving to ZC1.5.7. I cannot list the orders I want to pay; I have commissioned orders from May 2020 through the end of December 2020, and I can list those, but when I click Pay nothing comes up. I need to settle up with my affiliate and remembering that I've paid those commissions - but am unable to mark them paid - will mess me up the next time I go to pay that affiliate. Is there any work being done on this?
Twitch update snap affiliates.referrers - add edit button
- Update Snap Affiliates for 1.5x - Version 4.1.3
Adding these two lines will allow typical stock Zen Cart edit/select/return functionality to the referrers.php summary page.
Add line 513 <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_ACTION; ?></td>
Add line 529
<td class="dataTableContent" align="right">
<?php if ($current_selection) { // Twitch update snap affiliates.referrers - add edit button
echo zen_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', '');
} else {
echo '<a href="' . zen_href_link(FILENAME_REFERRERS, 'referrer=' . $referrer['customers_id'] . ($_GET['page'] > 0 ? '&page=' . $_GET['page'] : ''), 'NONSSL') . '">' . zen_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?>
</td>
Wish List for this module:
Deleted customer/order record as the commission paid should be displayed as commission history for accounting purposes.
Conditions exist that when you delete an order or customer -the data remains in the database- but it is unavailable for view.
This information should also be included in any other accounting reports and made available to the CASL legal record (if Twitch CASL or similar has been installed)
Also, if the summary could be sorted by date added - to ensure the newest affiliate sign up displays first.
Thanks, @twichtoo, for the suggestions. Hopefully, I'll find time to update this for use with zc157 within the next few weeks.