Skip to content

Instantly share code, notes, and snippets.

View jagroop's full-sized avatar
👨‍💻
At Office

Jagroop Singh jagroop

👨‍💻
At Office
View GitHub Profile
<?php
namespace App\Helpers;
class SoapClientHelper {
public static function request($name, $params = [])
{
$wsdl = config('wsdl.'.$name.'.endpoint');
$method = config('wsdl.'.$name.'.method_name');
$user = config('b2b_wsdl.credentials.user');
<template>
<section>
<div class="custom-sel-outer">
<div class="custom-sel">
<select v-model="selectedClient" @change="SelectedCustomerId($event)">
<option value="none">Select Customer</option>
<option v-for="(customer, index) in customers" v-bind:value="{ id: customer.KUNNR, name: customer.COLONIA}">{{customer.COLONIA}}</option>
</select>
</div>
</div>
<?xml version="1.0" encoding="UTF-8"?>
<user_info>
<CANAL>10</CANAL>
<CLASE_DOC>ZPSE</CLASE_DOC>
<DEST_MCIA>0000000003</DEST_MCIA>
<ID_DEST_MCIA>BU</ID_DEST_MCIA>
<ID_RESP_PAGO>PY</ID_RESP_PAGO>
<ID_SOL>PE</ID_SOL>
<ORG_VTAS>VS01</ORG_VTAS>
<PEDIDO_ECOMMERCE>PEDIDO 1</PEDIDO_ECOMMERCE>

Work Flow

Notes

  • Always keep your feature or bug branch synced with remote dev branch.
  • Whenever you start working on a new feature or bug. Please create a separate branch for your work DO NOT work on dev or master branch i.e. git checkout -b feature-name
  • Push only when the work is done , DO NOT PUSH frequently.
  • Please write decent commit messages.
@jagroop
jagroop / computed_properties.html
Created July 5, 2019 06:25
modify dynamic data with computed properties
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.10/vue.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.0/axios.min.js"></script>
</head>
<body>
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Pixibox_soap {
const REQUEST_URL = 'http://example.com/DjamWebserv.asmx';
const COUPON_LINK = 'http://example.com/PixiboxMasterPrint.aspx';
const SUCCESS_RESPONSE_VALUES = [1, 2, 3];
@extends('layouts.app')
@section('content')
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<div class="container"><li class="breadcrumb-item active text-primary" aria-current="page">Shop</li></div>
</ol>
</nav>
<section class="shop-section text-center py-5">
<div class="head-box text-center mb-5 col-md-12">

Git first time setup on PC ( only if its not already done )

  1. Install GIT

  2. Configure

git config --global user.name "Your name"
git config --global user.email "youemailaddress@example.com"
Array
(
[0] => Array
(
[id] => subway-716524034
[uuid] => 67f0339a-740e-4c1f-a74a-417f3bd25a0e
[dealUrl] => http://tracking.groupon.com/r?tsToken=US_AFF_0_207698_212556_0&url=https://www.groupon.com/deals/subway-716524034?z=skip&utm_medium=afl&utm_campaign=207698&mediaId=212556&utm_source=GPN
[title] => 25% Cash Back at Subway - Broad Street
[announcementTitle] => 25% Cash Back at Subway - Broad Street
[shortAnnouncementTitle] => 25% Cash Back at Subway
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Notification {
/**
* Suppoted devices to send push Notifications
* IOS
* ANDROID
*/