summaryrefslogtreecommitdiff
path: root/pikul.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-17 11:05:19 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-17 11:05:19 +0800
commitdfa57092e26c242c2ab64dc1d029e5dff44eee67 (patch)
tree420bb28a358dfb288f2f491a25af5709bf4990c5 /pikul.c
parent3eb347f32335a58c681d1777dfeef8c6dc1c76d5 (diff)
Rename trx_id to order_number
Diffstat (limited to 'pikul.c')
-rw-r--r--pikul.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pikul.c b/pikul.c
index a08b101..5f04136 100644
--- a/pikul.c
+++ b/pikul.c
@@ -112,7 +112,7 @@ double pikul_cost(const char *origin, const char *destination, double weight, co
return cost;
}
-char *pikul_order(const char *trx_id, const char *service, const char *sender_name,
+char *pikul_order(const char *order_number, const char *service, const char *sender_name,
const char *sender_phone, const char *origin, const char *sender_address,
const char *receiver_name, const char *receiver_phone, const char *destination,
const char *receiver_address, int nitems, char **items[], _Bool insurance, double subtotal)
@@ -123,9 +123,9 @@ char *pikul_order(const char *trx_id, const char *service, const char *sender_na
size_t (*handler)(const char *, size_t, size_t, char **);
switch (shipping.company) {
case PIKUL_ANTERAJA:
- anteraja_order(trx_id, service, sender_name, sender_phone, origin, sender_address,
- receiver_name, receiver_phone, destination, receiver_address,
- nitems, items, insurance, subtotal, &url, &post);
+ anteraja_order(order_number, service, sender_name, sender_phone, origin,
+ sender_address, receiver_name, receiver_phone, destination,
+ receiver_address, nitems, items, insurance, subtotal, &url, &post);
handler = anteraja_order_handle;
break;
default: