Skip to content

Commit

Permalink
service fee readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamás KIRÁLY committed Jun 7, 2023
1 parent 3e74017 commit c952997
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,13 @@ $order = new NTAKOrder(
end: Carbon::now(), // End of the order
payments: [new NTAKPayment(...)], // Array of the payments

// Discount is automatically managed by the package
// You don't have to manually add an OrderItem with "KEDVEZMENY" subcategory
// This means 20% discount (defaults to 0)
discount: 20
// Discount and service fee are automatically managed by the package
// You don't have to manually add the OrderItem(s) with "KEDVEZMENY" / "SZERVIZDIJ" subcategories
// Vats are handled automatically as well
// If both discount and service fee are provided, the service fee will be calculated from the discounted total
// The following means 20% discount (defaults to 0) and 10% service fee (defaults to 0)
discount: 20,
serviceFee: 10
);
```

Expand Down

0 comments on commit c952997

Please sign in to comment.