{
  "name": "dSuite Business Management",
  "short_name": "dSuite",
  "description": "Complete business management system for supermarkets, shops, cafes, restaurants, hotels, and more",
  "start_url": "./pages/login.php",
  "display": "standalone",
  "background_color": "#ffffff",
  "theme_color": "#ff5b74",
  "orientation": "portrait-primary",
  "scope": "./",
  "lang": "en",
  "dir": "ltr",
  "categories": ["business", "productivity", "finance"],
  "icons": [
    {
      "src": "./assets/icons/icon-192x192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "./assets/icons/icon-512x512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "./assets/icons/icon-maskable-512x512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ],
  "shortcuts": [
    {
      "name": "Point of Sale",
      "short_name": "POS",
      "description": "Quick access to POS system",
      "url": "./pages/pos.php"
    },
    {
      "name": "Inventory",
      "short_name": "Stock",
      "description": "Manage inventory and stock",
      "url": "./pages/inventory.php"
    },
    {
      "name": "Reports",
      "short_name": "Reports",
      "description": "View business reports",
      "url": "./pages/reports.php"
    },
    {
      "name": "Dashboard",
      "short_name": "Home",
      "description": "Main dashboard",
      "url": "./"
    }
  ],
  "prefer_related_applications": false,
  "edge_side_panel": {
    "preferred_width": 400
  },
  "launch_handler": {
    "client_mode": "navigate-existing"
  },
  "handle_links": "preferred",
  "capture_links": "new-client",
  "file_handlers": [
    {
      "action": "./pages/import.php",
      "accept": {
        "text/csv": [".csv"],
        "application/vnd.ms-excel": [".xls"],
        "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": [".xlsx"]
      }
    }
  ],
  "protocol_handlers": [
    {
      "protocol": "web+dsuite",
      "url": "./pages/import.php?url=%s"
    }
  ],
  "share_target": {
    "action": "./pages/import.php",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "import_file",
          "accept": ["text/csv", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]
        }
      ]
    }
  }
}
