@echo off
setlocal
set "JEVAPOS_CART_PHP=%~dp0..\..\php\php.exe"
if not exist "%JEVAPOS_CART_PHP%" (
  echo XAMPP PHP was not found. Put these files inside the existing POS folder under XAMPP htdocs.
  pause
  exit /b 1
)
"%JEVAPOS_CART_PHP%" "%~dp0Install-Cart-Removal-Approval.php"
if errorlevel 1 (
  echo Installation did not complete. Read the error above before using the selling screen.
  pause
  exit /b 1
)
echo Installation complete. Assign the supervisor permissions and refresh the selling screens.
pause
