| 1 |
{ |
| 2 |
"extends": "base-receipt", |
| 3 |
"description": "Arabic RTL paid receipt preview with localized store, customer, address, products, and payment labels.", |
| 4 |
"overrides": { |
| 5 |
"presentation_hints": { |
| 6 |
"locale": "ar", |
| 7 |
"direction": "rtl" |
| 8 |
}, |
| 9 |
"order": { |
| 10 |
"number": "POS-١٢٣٤", |
| 11 |
"currency": "AED", |
| 12 |
"status_label": "� |
| 13 |
كت� |
| 14 |
ل" |
| 15 |
}, |
| 16 |
"store": { |
| 17 |
"name": "وحش القهوة", |
| 18 |
"address": { |
| 19 |
"address_1": "شارع القهوة ١٢٣", |
| 20 |
"address_2": "", |
| 21 |
"city": "دبي", |
| 22 |
"state": "", |
| 23 |
"postcode": "", |
| 24 |
"country": "AE" |
| 25 |
}, |
| 26 |
"address_lines": [ |
| 27 |
"شارع القهوة ١٢٣", |
| 28 |
"دبي، الإ� |
| 29 |
ارات العربية ال� |
| 30 |
تحدة" |
| 31 |
], |
| 32 |
"phone": "+971 4 555 0142", |
| 33 |
"personal_notes": "شكراً لتسوقك� |
| 34 |
� |
| 35 |
عنا.", |
| 36 |
"footer_imprint": "تابعونا @coffeemonster" |
| 37 |
}, |
| 38 |
"customer": { |
| 39 |
"name": "ليلى أح� |
| 40 |
د", |
| 41 |
"billing_address": { |
| 42 |
"first_name": "ليلى", |
| 43 |
"last_name": "أح� |
| 44 |
د", |
| 45 |
"address_1": "شارع النخيل ٤٥", |
| 46 |
"address_2": "", |
| 47 |
"city": "دبي", |
| 48 |
"state": "", |
| 49 |
"postcode": "", |
| 50 |
"country": "AE", |
| 51 |
"email": "layla.ahmed@example.com", |
| 52 |
"phone": "+971 50 555 0188" |
| 53 |
}, |
| 54 |
"shipping_address": { |
| 55 |
"first_name": "ليلى", |
| 56 |
"last_name": "أح� |
| 57 |
د", |
| 58 |
"address_1": "شارع النخيل ٤٥", |
| 59 |
"address_2": "", |
| 60 |
"city": "دبي", |
| 61 |
"state": "", |
| 62 |
"postcode": "", |
| 63 |
"country": "AE" |
| 64 |
} |
| 65 |
}, |
| 66 |
"lines": [ |
| 67 |
{ |
| 68 |
"key": "1", |
| 69 |
"sku": "CM-BEANS-250", |
| 70 |
"name": "حبوب إسبرسو � |
| 71 |
نزلية", |
| 72 |
"qty": 2, |
| 73 |
"regular_price": 57.0, |
| 74 |
"regular_price_incl": 57.0, |
| 75 |
"regular_price_excl": 57.0, |
| 76 |
"selling_price": 52.0, |
| 77 |
"selling_price_incl": 52.0, |
| 78 |
"selling_price_excl": 52.0, |
| 79 |
"unit_savings": 5.0, |
| 80 |
"unit_savings_incl": 5.0, |
| 81 |
"unit_savings_excl": 5.0, |
| 82 |
"line_regular_total": 114.0, |
| 83 |
"line_regular_total_incl": 114.0, |
| 84 |
"line_regular_total_excl": 114.0, |
| 85 |
"line_selling_total": 104.0, |
| 86 |
"line_selling_total_incl": 104.0, |
| 87 |
"line_selling_total_excl": 104.0, |
| 88 |
"line_savings": 10.0, |
| 89 |
"line_savings_incl": 10.0, |
| 90 |
"line_savings_excl": 10.0, |
| 91 |
"savings_in_discounts": false, |
| 92 |
"unit_price": 52, |
| 93 |
"line_total": 104, |
| 94 |
"meta": [ |
| 95 |
{ |
| 96 |
"key": "الطحن", |
| 97 |
"value": "حبوب كا� |
| 98 |
لة" |
| 99 |
} |
| 100 |
], |
| 101 |
"attributes": [ |
| 102 |
{ |
| 103 |
"key": "الطحن", |
| 104 |
"value": "حبوب كا� |
| 105 |
لة" |
| 106 |
} |
| 107 |
], |
| 108 |
"unit_subtotal": 52, |
| 109 |
"unit_subtotal_incl": 52, |
| 110 |
"unit_subtotal_excl": 52, |
| 111 |
"unit_price_incl": 52, |
| 112 |
"unit_price_excl": 52, |
| 113 |
"line_subtotal": 104, |
| 114 |
"line_subtotal_incl": 104, |
| 115 |
"line_subtotal_excl": 104, |
| 116 |
"discounts": 0, |
| 117 |
"discounts_incl": 0, |
| 118 |
"discounts_excl": 0, |
| 119 |
"line_total_incl": 104, |
| 120 |
"line_total_excl": 104, |
| 121 |
"qty_refunded": 0, |
| 122 |
"total_refunded": 0, |
| 123 |
"taxes": [] |
| 124 |
}, |
| 125 |
{ |
| 126 |
"key": "2", |
| 127 |
"sku": "CM-MUG-BLK", |
| 128 |
"name": "كوب سيرا� |
| 129 |
يك أسود", |
| 130 |
"qty": 1, |
| 131 |
"regular_price": 66.0, |
| 132 |
"regular_price_incl": 66.0, |
| 133 |
"regular_price_excl": 66.0, |
| 134 |
"selling_price": 66.0, |
| 135 |
"selling_price_incl": 66.0, |
| 136 |
"selling_price_excl": 66.0, |
| 137 |
"unit_savings": 0.0, |
| 138 |
"unit_savings_incl": 0.0, |
| 139 |
"unit_savings_excl": 0.0, |
| 140 |
"line_regular_total": 66.0, |
| 141 |
"line_regular_total_incl": 66.0, |
| 142 |
"line_regular_total_excl": 66.0, |
| 143 |
"line_selling_total": 66.0, |
| 144 |
"line_selling_total_incl": 66.0, |
| 145 |
"line_selling_total_excl": 66.0, |
| 146 |
"line_savings": 0.0, |
| 147 |
"line_savings_incl": 0.0, |
| 148 |
"line_savings_excl": 0.0, |
| 149 |
"savings_in_discounts": false, |
| 150 |
"unit_price": 66, |
| 151 |
"line_total": 66, |
| 152 |
"meta": [], |
| 153 |
"attributes": [], |
| 154 |
"unit_subtotal": 66, |
| 155 |
"unit_subtotal_incl": 66, |
| 156 |
"unit_subtotal_excl": 66, |
| 157 |
"unit_price_incl": 66, |
| 158 |
"unit_price_excl": 66, |
| 159 |
"line_subtotal": 66, |
| 160 |
"line_subtotal_incl": 66, |
| 161 |
"line_subtotal_excl": 66, |
| 162 |
"discounts": 0, |
| 163 |
"discounts_incl": 0, |
| 164 |
"discounts_excl": 0, |
| 165 |
"line_total_incl": 66, |
| 166 |
"line_total_excl": 66, |
| 167 |
"qty_refunded": 0, |
| 168 |
"total_refunded": 0, |
| 169 |
"taxes": [] |
| 170 |
} |
| 171 |
], |
| 172 |
"payments": [ |
| 173 |
{ |
| 174 |
"method_id": "pos_card", |
| 175 |
"method_title": "بطاقة", |
| 176 |
"amount": 170, |
| 177 |
"transaction_id": "AUTH-AR-123" |
| 178 |
} |
| 179 |
], |
| 180 |
"discounts": [], |
| 181 |
"fees": [], |
| 182 |
"shipping": [], |
| 183 |
"totals": { |
| 184 |
"subtotal": 170, |
| 185 |
"subtotal_incl": 170, |
| 186 |
"subtotal_excl": 170, |
| 187 |
"discount_total": 0, |
| 188 |
"discount_total_incl": 0, |
| 189 |
"discount_total_excl": 0, |
| 190 |
"tax_total": 0, |
| 191 |
"total": 170, |
| 192 |
"total_incl": 170, |
| 193 |
"total_excl": 170, |
| 194 |
"paid_total": 170, |
| 195 |
"change_total": 0, |
| 196 |
"total_qty": 3, |
| 197 |
"line_count": 2, |
| 198 |
"refund_total": 0, |
| 199 |
"net_total": 0, |
| 200 |
"sale_savings_total": 10, |
| 201 |
"sale_savings_total_incl": 10, |
| 202 |
"sale_savings_total_excl": 10, |
| 203 |
"total_saved": 10, |
| 204 |
"total_saved_incl": 10, |
| 205 |
"total_saved_excl": 10, |
| 206 |
"total_saved_complete": true |
| 207 |
}, |
| 208 |
"tax_summary": [], |
| 209 |
"has_tax_summary": false, |
| 210 |
"i18n": { |
| 211 |
"receipt": "إيصال", |
| 212 |
"order": "طلب", |
| 213 |
"date": "التاريخ", |
| 214 |
"cashier": "أ� |
| 215 |
ين الصندوق", |
| 216 |
"customer": "الع� |
| 217 |
يل", |
| 218 |
"customer_note": "� |
| 219 |
لاحظة الع� |
| 220 |
يل", |
| 221 |
"item_short": "الصنف", |
| 222 |
"qty_short": "الك� |
| 223 |
ية", |
| 224 |
"subtotal": "ال� |
| 225 |
ج� |
| 226 |
وع الفرعي", |
| 227 |
"discount": "الخص� |
| 228 |
", |
| 229 |
"total_tax": "إج� |
| 230 |
الي الضريبة", |
| 231 |
"included_tax": "ضريبة � |
| 232 |
ش� |
| 233 |
ولة", |
| 234 |
"total": "الإج� |
| 235 |
الي", |
| 236 |
"paid": "� |
| 237 |
دفوع", |
| 238 |
"tendered": "ال� |
| 239 |
بلغ ال� |
| 240 |
ستل� |
| 241 |
", |
| 242 |
"change": "الباقي", |
| 243 |
"refunded": "� |
| 244 |
سترد", |
| 245 |
"returned_items": "العناصر ال� |
| 246 |
رتجعة", |
| 247 |
"net_total": "الصافي", |
| 248 |
"total_saved": "إج� |
| 249 |
الي التوفير", |
| 250 |
"thank_you_purchase": "شكراً لشرائك� |
| 251 |
" |
| 252 |
}, |
| 253 |
"refunds": [] |
| 254 |
} |
| 255 |
} |
| 256 |
|