/erp

ERP Project

Primary LanguagePHP

Installation

  • git clone https://github.com/onuruslu/Diyarbakir-OSB.git .
  • git submodule update --init --recursive (to do that you need to access permission of https://github.com/onuruslu/ht-efatura)
  • Change the content of the env.example file according to your config, and save as .env
    HT_EFATURA_URL="https://econnecttest.hizliteknoloji.com.tr"
    HT_EFATURA_USERNAME="xxx"
    HT_EFATURA_PASSWORD="xxx"
    
    HT_EFATURA_URL="https://econnecttest.hizliteknoloji.com.tr"
    
    EFATURA_CODE_PREFIX="XXX"
    EARSIV_CODE_PREFIX="YYY"
    EX_DATE_PREFIX="2020" // eFatura and eArsiv date prefix
    
    FATURA_VERGI_NO="4620553774" // Hizliteknoloji for test operations
    FATURA_EMAIL_ACTIVE=false
    
    VIZYONMESAJ_USERNAME=""
    VIZYONMESAJ_PASSWORD=""
    VIZYONMESAJ_ORIGIN=""
    
  • composer install
  • php artisan migrate --seed
  • php artisan key:generate
  • chmod -R 775 storage

HT-Mukellef CSV Import

  • php artisan import:ht-mukellefler <filePath> --delimiter[=DELIMITER] --headerOffset[=HEADEROFFSET]
  • php artisan import:ht-mukellefler "/var/www/file.csv"
  • php artisan import:ht-mukellefler "/var/www/file.csv" --delimiter=";" --headerOffset=5

OSB Elektrik Aboneleri CSV Import

  • php artisan import:osb-elektrik-aboneler <filePath> --delimiter[=DELIMITER] --headerOffset[=HEADEROFFSET]
  • php artisan import:osb-elektrik-aboneler "/var/www/file.csv"
  • php artisan import:osb-elektrik-aboneler "/var/www/file.csv" --delimiter=";" --headerOffset=5

Usefull Links