flpolprojects commited on
Commit
17493fa
·
verified ·
1 Parent(s): 5eeec83

Update bonus data 2025-12-21 10:41:31

Browse files
Files changed (1) hide show
  1. data.json +29 -4
data.json CHANGED
@@ -25,11 +25,36 @@
25
  "phone_number": null,
26
  "visited_at": 1766295640.320966,
27
  "visited_at_str": "2025-12-21 10:40:40",
28
- "bonuses": 0,
29
- "history": [],
 
 
 
 
 
 
 
 
30
  "debts": 0,
31
  "debt_history": [],
32
- "invoices": [],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  "referral_code": "PROMO82423",
34
  "referred_by": null,
35
  "referrals": [
@@ -47,7 +72,7 @@
47
  "transaction_type": "referral"
48
  }
49
  ],
50
- "has_made_first_purchase": false,
51
  "combined_history": [
52
  {
53
  "type": "accrual",
 
25
  "phone_number": null,
26
  "visited_at": 1766295640.320966,
27
  "visited_at_str": "2025-12-21 10:40:40",
28
+ "bonuses": 384.0,
29
+ "history": [
30
+ {
31
+ "type": "accrual",
32
+ "amount": 384.0,
33
+ "description": "Бонус с накладной #3CCA7ABF",
34
+ "date": "2025-12-21T10:41:31.210724+05:00",
35
+ "date_str": "2025-12-21 10:41:31"
36
+ }
37
+ ],
38
  "debts": 0,
39
  "debt_history": [],
40
+ "invoices": [
41
+ {
42
+ "invoice_id": "3CCA7ABF",
43
+ "date": "2025-12-21T10:41:31.210724+05:00",
44
+ "date_str": "2025-12-21 10:41:31",
45
+ "total_amount": 19200.0,
46
+ "items": [
47
+ {
48
+ "product_name": "Смеситель ",
49
+ "quantity": 4.0,
50
+ "unit_price": 4800.0,
51
+ "item_total": 19200.0
52
+ }
53
+ ],
54
+ "bonuses_deducted": 0.0,
55
+ "bonus_source_used": null
56
+ }
57
+ ],
58
  "referral_code": "PROMO82423",
59
  "referred_by": null,
60
  "referrals": [
 
72
  "transaction_type": "referral"
73
  }
74
  ],
75
+ "has_made_first_purchase": true,
76
  "combined_history": [
77
  {
78
  "type": "accrual",