|
|
@ -753,7 +753,7 @@ namespace CK.SCP.Controller |
|
|
|
}); |
|
|
|
_print.CAAIPhone = _buffer.ToString(); |
|
|
|
} |
|
|
|
if (_asn.Site == "CQBMPT") |
|
|
|
if (_asn.Site == "CQBMPT" || _asn.Site == "CDBMPT") |
|
|
|
{ |
|
|
|
using (ScpEntities db = EntitiesFactory.CreateScpInstance()) |
|
|
|
{ |
|
|
@ -762,7 +762,7 @@ namespace CK.SCP.Controller |
|
|
|
var phone1 = db.TB_ADDRESS.Count(t => t.Address == ask.Extend1); |
|
|
|
if (phone1 > 0) |
|
|
|
{ |
|
|
|
var phone = db.TB_ADDRESS.SingleOrDefault(t => t.Address == ask.Extend1); |
|
|
|
var phone = db.TB_ADDRESS.SingleOrDefault(t => t.Address == ask.Extend1 && t.SubSite == ask.SubSite); |
|
|
|
_print.CAAIPhone = phone.NamePone; |
|
|
|
} |
|
|
|
_print.CAAIFax = ask.Remark; |
|
|
|