@mxood there are ways to implement it. Here is a sample implementation.
Basically you’ll create an account and entity type for drivers. Add a calculation when a driver is selected and update driver accounts. At the end of the day you can review driver account and make payments by clicking Driver Payments
button on Accounts screen.
DriverPayments.zip (112.9 KB)
This zip file contains both a SDF file and an export file to import required configuration with database tools module.
When you use export file you’ll need two simple steps to complete configuration.
- Edit related ticket type (for example Delivery Ticket), switch to
Entity Type List
page and addDrivers
entity type to the list. - Edit
Accounts > Account Screens > General
and addDriver Accounts
to theAccount Types
list. Also enableDisplay Details
setting.
###Creating Entities
Create Accounts for Drivers.
The account type should be Driver Accounts
Create Entities for Drivers and assign Accounts.
Create all entities.
Edit Driver Search
entity screen and add new created Drivers to the list.
Check if Entity Screen Mapping is correct.
You should be able to see Drivers under Driver Search
screen.
Edit Automation > Actions > Add Driver Payment
action and update Servicing Fee Amount
###Usage
Create a new ticket and select a driver.
Choosing a driver should add Driver Payment
to the ticket.
Settle this ticket with Cash
and switch to Accounts
screen to see how it displays.
We’ve sold 10.99
, Settled 17.99
and we should pay 7
to Driver Jack
.
Create few more tickets for other Drivers.
I have to pay 14 to Jack
, 14 to James
and 7 to Paul
.
Click Driver Payments
button for payout.
I can see how much I should pay for each Driver. If needed update Amounts and click Create
button.
I’ve made 61.91
sales. Paid 35
from Cash for Drivers and 16.72
cash remains. If you sum cash and credit card balances you’ll find sales amount.
You can enable Display as Tree
setting for account screen for better presentation.