Skip to content

Commit

Permalink
fixed test error
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitmlive committed Mar 26, 2020
1 parent 02aec37 commit 07a2d16
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
<?php

//use TallyPHP\TallyIntegration;
require_once("src/tallyIntegration.php");

$host = "10.1.30.95:9000";
$tally = new TallyIntegration($host);

echo $tally;die();

//parametrs from application
$billing_user = "Imran2222";


$aa = array();
$aa["state_name"] = "New Delhi";
$aa["ledger_name"] = $billing_user ;
Expand All @@ -27,8 +24,6 @@

$res = $tally->getAllLedger();

//print_r($res);

if ($res !== NULL){
// check ledger is avvailable in tally or not
if (in_array("$billing_user", $res))
Expand Down

0 comments on commit 07a2d16

Please sign in to comment.