class MCF_Ledger_Engine { public function get_daily_ledger() { global $wpdb; $table = $wpdb->prefix . 'mcf_ledger'; $rows = $wpdb->get_results(" SELECT order_id, order_date, currency, net_sale, profit, exchange_rate FROM {$table} ORDER BY order_date ASC "); $result = []; foreach ($rows as $row) { if (empty($row->order_date)) { continue; } $date = date('Y-m-d', strtotime($row->order_date)); if (!isset($result[$date])) { $result[$date] = [ 'consolidated' => ['sales'=>0.0,'profit'=>0.0], 'TRY' => ['sales'=>0.0,'profit'=>0.0], 'EUR' => ['sales'=>0.0,'profit'=>0.0], 'orders' => [] ]; } $currency = strtoupper(trim($row->currency)); $net_sale = (float) $row->net_sale; $profit = (float) $row->profit; $exchange_rate = (float) $row->exchange_rate; if ($exchange_rate <= 0) { $exchange_rate = 1; } // Currency raw aggregation if (isset($result[$date][$currency])) { $result[$date][$currency]['sales'] += $net_sale; $result[$date][$currency]['profit'] += $profit; } // TL Consolidation if ($currency === 'EUR') { $sale_tl = $net_sale * $exchange_rate; $profit_tl = $profit * $exchange_rate; } else { $sale_tl = $net_sale; $profit_tl = $profit; } $result[$date]['consolidated']['sales'] += $sale_tl; $result[$date]['consolidated']['profit'] += $profit_tl; $result[$date]['orders'][] = [ 'id' => (int) $row->order_id, 'currency' => $currency, 'profit_tl' => round($profit_tl,2) ]; } return $result; } } Ager Anatolian Bag -

Ager Anatolian Bag

55

Ager Anatolian Bag is designed as a structured everyday bag that combines floral Anatolian motifs with a clean and balanced form. Its refined proportions and molded structure provide durability while maintaining a visually soft and elegant appearance.

Out of stock

SKU: AGER_EN Categories: , , ,

Description

Ager Anatolian Bag is designed as a structured everyday bag that combines floral Anatolian motifs with a clean and balanced form. Its refined proportions and molded structure provide durability while maintaining a visually soft and elegant appearance.

The exterior features rose and flower patterns inspired by traditional Anatolian ornamentation. These floral motifs add decorative character without overwhelming the design. The structured body helps the bag retain its shape, offering stability and a neat silhouette suitable for daily and urban use.

Designed for practical organization, the bag includes a single main compartment for everyday essentials. A zippered front pocket provides secure and convenient access to frequently used items. The adjustable shoulder strap allows comfortable use as either a shoulder bag or a crossbody bag.

Product Features:
• Floral patterned exterior
• Molded and structured body
• Single main compartment
• Adjustable shoulder strap
• Suitable for daily use

Product Dimensions:
Width (W): 26 cm
Height (H): 18 cm
Depth (D): 7.5 cm

Combining floral Anatolian aesthetics with a structured and functional design, Ager Anatolian Bag offers a practical and visually refined option for everyday use, ideal for those who value traditional motifs in a modern form.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.